Keycloak Authentication Management API

The Authentication Management API from Keycloak — 28 operation(s) for authentication management.

GitHub OpenAPI

Operations 39

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /admin/realms/{realm}/authentication/authenticator-providers List the authenticator providers available · Get authenticator providers Returns a stream of authenticator providers #
Ask an LLM
“Which authenticator providers can I attach to a flow?”
“What authentication methods does the admin API list for a realm?”
Tell an agent
List authenticator providers for realm {realm}.
Show the available authentication providers in {realm}.
GET /admin/realms/{realm}/authentication/client-authenticator-providers List client authenticator providers · Get client authenticator providers Returns a stream of client authenticator… #
Ask an LLM
“Which client authenticator providers are available?”
“What client-side authentication methods can I attach to a flow?”
Tell an agent
List client authenticator providers for realm {realm}.
Show the client authentication providers in {realm}.
POST /admin/realms/{realm}/authentication/config Create an authenticator configuration · Create new authenticator configuration #
Ask an LLM
“How do I create a new configuration for an authenticator provider?”
“Can I give a new authenticator config a custom alias?”
Tell an agent
Create an authenticator configuration in {realm} with alias {alias}.
Add a new {alias} authenticator config to realm {realm}.
GET /admin/realms/{realm}/authentication/config-description/{providerId} Get an authenticator provider's config description · Get authenticator provider's configuration description #
Ask an LLM
“What fields does a given authenticator provider expect in its configuration?”
“Can I see the configuration schema for an authenticator provider?”
Tell an agent
Get the configuration description for authenticator provider {providerId} in {realm}.
Show the config fields {providerId} expects in realm {realm}.
GET /admin/realms/{realm}/authentication/config/{id} Get an authenticator configuration · Get authenticator configuration #
Ask an LLM
“How do I read one authenticator configuration by its ID?”
“What settings does a specific authenticator config hold?”
Tell an agent
Get authenticator configuration {id} in {realm}.
Show the settings of authenticator config {id} in realm {realm}.
PUT /admin/realms/{realm}/authentication/config/{id} Update an authenticator configuration · Update authenticator configuration #
Ask an LLM
“How do I change the settings of an existing authenticator configuration?”
“Can I rename an authenticator config?”
Tell an agent
Update authenticator configuration {id} in {realm} with alias {alias}.
Change the settings of authenticator config {id} in realm {realm}.
DELETE /admin/realms/{realm}/authentication/config/{id} Delete an authenticator configuration · Delete authenticator configuration #
Ask an LLM
“How do I remove an authenticator configuration?”
“Can I delete a custom authenticator config?”
Tell an agent destructive · confirm first
Delete authenticator configuration {id} from {realm}.
Remove the {id} authenticator config in realm {realm}.
POST /admin/realms/{realm}/authentication/executions Add an authentication execution to a flow · Add new authentication execution #
Ask an LLM
“How do I add a step to an authentication flow?”
“Can I require a specific authenticator in a flow?”
Tell an agent
Add an execution to {realm} requiring authenticator {authenticator}.
Add a {authenticator} execution to flow {authenticatorFlow} in {realm}.
GET /admin/realms/{realm}/authentication/executions/{executionId} Get one authentication execution · Get Single Execution #
Ask an LLM
“How do I read a single execution in a flow?”
“What authenticator and requirement does one execution have?”
Tell an agent
Get execution {executionId} in {realm}.
Show the authenticator and requirement of execution {executionId} in realm {realm}.
DELETE /admin/realms/{realm}/authentication/executions/{executionId} Remove an authentication execution · Delete execution #
Ask an LLM
“How do I remove a step from an authentication flow?”
“Can I delete an execution by its ID?”
Tell an agent destructive · confirm first
Delete execution {executionId} from {realm}.
Remove the {executionId} execution in realm {realm}.
POST /admin/realms/{realm}/authentication/executions/{executionId}/config Update an execution's configuration · Update execution with new configuration #
Ask an LLM
“How do I change the settings of an existing execution?”
“Can I reconfigure an execution after adding it to a flow?”
Tell an agent
Update the configuration of execution {executionId} in {realm}.
Set new config on execution {executionId} in realm {realm}.
GET /admin/realms/{realm}/authentication/executions/{executionId}/config/{id} Get an execution's configuration · Get execution's configuration #
Ask an LLM
“How do I read the configuration of an execution?”
“What settings does a given execution use?”
Tell an agent
Get configuration {id} of execution {executionId} in {realm}.
Show the settings of execution {executionId} in realm {realm}.
POST /admin/realms/{realm}/authentication/executions/{executionId}/lower-priority Lower an execution's priority · Lower execution's priority #
Ask an LLM
“How do I make an execution run later in a flow?”
“Can I lower the priority of one execution?”
Tell an agent
Lower the priority of execution {executionId} in {realm}.
Move execution {executionId} down in priority in realm {realm}.
POST /admin/realms/{realm}/authentication/executions/{executionId}/raise-priority Raise an execution's priority · Raise execution's priority #
Ask an LLM
“How do I make an execution run sooner in a flow?”
“Can I raise the priority of one execution?”
Tell an agent
Raise the priority of execution {executionId} in {realm}.
Move execution {executionId} up in priority in realm {realm}.
GET /admin/realms/{realm}/authentication/flows List authentication flows · Get authentication flows Returns a stream of authentication flows #
Ask an LLM
“What authentication flows exist in my realm?”
“Can I see the built-in and custom flows?”
Tell an agent
List authentication flows in {realm}.
Show all login flows in realm {realm}.
POST /admin/realms/{realm}/authentication/flows Create an authentication flow · Create a new authentication flow #
Ask an LLM
“How do I create a new authentication flow?”
“Can I make a flow that is not built-in?”
Tell an agent
Create a new authentication flow in {realm}.
Create a custom flow {alias} in realm {realm}.
POST /admin/realms/{realm}/authentication/flows/{flowAlias}/copy Copy an existing authentication flow · Copy existing authentication flow under a new name The new name is given as… #
Ask an LLM
“How do I duplicate an existing authentication flow?”
“Can I copy a flow under a new name?”
Tell an agent
Copy the {flowAlias} authentication flow in {realm}.
Duplicate flow {flowAlias} in realm {realm} as a new flow.
GET /admin/realms/{realm}/authentication/flows/{flowAlias}/executions List the executions of a flow · Get authentication executions for a flow #
Ask an LLM
“What steps are in a given authentication flow?”
“Can I see the execution order of a flow?”
Tell an agent
List the executions of flow {flowAlias} in {realm}.
Show the steps in authentication flow {flowAlias} of realm {realm}.
PUT /admin/realms/{realm}/authentication/flows/{flowAlias}/executions Replace the executions of a flow · Update authentication executions of a Flow #
Ask an LLM
“How do I reorder or replace all steps in a flow?”
“Can I set the execution order of a flow in one call?”
Tell an agent
Replace the executions of flow {flowAlias} in {realm}.
Set the execution order of flow {flowAlias} in realm {realm}.
POST /admin/realms/{realm}/authentication/flows/{flowAlias}/executions/execution Add a step to an authentication flow · Add new authentication execution to a flow #
Ask an LLM
“How do I add a new authentication execution to a flow?”
“Can I insert an execution into a nested authentication flow?”
Tell an agent
Add a new execution to authentication flow {flow} in realm {realm}.
Insert an execution into nested flow {flow} in realm {realm}.
POST /admin/realms/{realm}/authentication/flows/{flowAlias}/executions/flow Add a sub-flow under an existing authentication flow · Add new flow with new execution to existing flow #
Ask an LLM
“How do I nest a new sub-flow inside an existing authentication flow?”
“Can I create a child flow beneath a parent flow using its alias?”
Tell an agent
Create a new sub-flow under parent flow {flowAlias} in realm {realm}.
Nest a new child flow inside the {flowAlias} flow of {realm}.
GET /admin/realms/{realm}/authentication/flows/{id} Get an authentication flow · Get authentication flow for id #
Ask an LLM
“What executions make up a particular authentication flow?”
“Can I look up an authentication flow by its ID?”
Tell an agent
Get authentication flow {id} in realm {realm}.
Show the executions of flow {id} in {realm}.
PUT /admin/realms/{realm}/authentication/flows/{id} Update an authentication flow · Update an authentication flow #
Ask an LLM
“Can I rename an authentication flow or change its description?”
“Is it possible to set an authentication flow as top-level or built-in?”
Tell an agent
Rename authentication flow {id} in {realm} to {alias}.
Set the description of flow {id} in {realm} to {description}.
DELETE /admin/realms/{realm}/authentication/flows/{id} Delete an authentication flow · Delete an authentication flow #
Ask an LLM
“How do I remove an authentication flow I no longer need?”
“Can I delete a custom authentication flow from a realm?”
Tell an agent destructive · confirm first
Delete authentication flow {id} from realm {realm}.
Remove the {id} flow in {realm}.
GET /admin/realms/{realm}/authentication/form-action-providers List form action providers · Get form action providers Returns a stream of form action providers #
Ask an LLM
“Which form action providers are available for authentication forms?”
“What form action providers can I use in a flow?”
Tell an agent
List form action providers in realm {realm}.
Show the available form action providers for {realm}.
GET /admin/realms/{realm}/authentication/form-providers List form providers · Get form providers Returns a stream of form providers #
Ask an LLM
“What form providers can I use for login and registration?”
“Which form providers are configured in a realm?”
Tell an agent
List form providers in realm {realm}.
Show the login and registration form providers for {realm}.
GET /admin/realms/{realm}/authentication/per-client-config-description Describe per-client authentication config · Get configuration descriptions for all clients #
Ask an LLM
“What per-client authentication settings can I configure for each client?”
“Can I see the configuration description for per-client authentication?”
Tell an agent
Get the per-client authentication configuration description for realm {realm}.
Describe the per-client authentication settings in {realm}.
POST /admin/realms/{realm}/authentication/register-required-action Register a new required action · Register a new required actions #
Ask an LLM
“How do I register a custom required action for a realm?”
“Can I add a new required action type to a realm?”
Tell an agent
Register a new required action in realm {realm}.
Add a custom required action to {realm}.
GET /admin/realms/{realm}/authentication/required-actions List required actions · Get required actions Returns a stream of required actions #
Ask an LLM
“Which required actions are configured in a realm?”
“What required actions can I enable for users?”
Tell an agent
List required actions in realm {realm}.
Show all required actions configured for {realm}.
GET /admin/realms/{realm}/authentication/required-actions/{alias} Get a required action · Get required action for alias #
Ask an LLM
“What settings does a specific required action have?”
“Can I look up one required action by its alias?”
Tell an agent
Get required action {alias} in realm {realm}.
Show the configuration of required action {alias} for {realm}.
PUT /admin/realms/{realm}/authentication/required-actions/{alias} Update a required action · Update required action #
Ask an LLM
“Can I disable a required action or change its priority?”
“Is it possible to rename a required action?”
Tell an agent
Rename required action {alias} in {realm} to {name}.
Set required action {alias} priority in {realm} to {priority}.
DELETE /admin/realms/{realm}/authentication/required-actions/{alias} Delete a required action · Delete required action #
Ask an LLM
“How do I remove a required action I no longer use?”
“Can I delete a custom required action from a realm?”
Tell an agent destructive · confirm first
Delete required action {alias} from realm {realm}.
Remove the {alias} required action in {realm}.
GET /admin/realms/{realm}/authentication/required-actions/{alias}/config Get a required action's config · Get RequiredAction configuration #
Ask an LLM
“What configuration does a required action currently have?”
“Can I read the config of one required action?”
Tell an agent
Get the configuration of required action {alias} in {realm}.
Show required action {alias} settings for {realm}.
PUT /admin/realms/{realm}/authentication/required-actions/{alias}/config Update a required action's config · Update RequiredAction configuration #
Ask an LLM
“Can I change the configuration of a required action?”
“Is it possible to edit a required action's settings?”
Tell an agent
Update the configuration of required action {alias} in {realm} to {config}.
Set required action {alias} config for {realm} to {config}.
DELETE /admin/realms/{realm}/authentication/required-actions/{alias}/config Clear a required action's config · Delete RequiredAction configuration #
Ask an LLM
“How do I reset a required action's configuration to defaults?”
“Can I remove the config from a required action?”
Tell an agent destructive · confirm first
Delete the configuration of required action {alias} in {realm}.
Reset required action {alias} settings in {realm}.
GET /admin/realms/{realm}/authentication/required-actions/{alias}/config-description Describe a required action's config · Get RequiredAction provider configuration description #
Ask an LLM
“What fields does a required action's configuration accept?”
“Can I see the config description for a required action?”
Tell an agent
Get the configuration description for required action {alias} in {realm}.
Describe the config fields of required action {alias} for {realm}.
POST /admin/realms/{realm}/authentication/required-actions/{alias}/lower-priority Lower a required action's priority · Lower required action's priority #
Ask an LLM
“Can I make a required action run later in the flow?”
“How do I lower a required action's priority?”
Tell an agent
Lower the priority of required action {alias} in {realm}.
Move required action {alias} later in the flow for {realm}.
POST /admin/realms/{realm}/authentication/required-actions/{alias}/raise-priority Raise a required action's priority · Raise required action's priority #
Ask an LLM
“Can I make a required action run sooner in the flow?”
“How do I raise a required action's priority?”
Tell an agent
Raise the priority of required action {alias} in {realm}.
Move required action {alias} earlier in the flow for {realm}.
GET /admin/realms/{realm}/authentication/unregistered-required-actions List unregistered required actions · Get unregistered required actions Returns a stream of unregistered required… #
Ask an LLM
“Which required actions are not yet registered in a realm?”
“What unregistered required actions does a realm support?”
Tell an agent
List unregistered required actions in realm {realm}.
Show required actions not yet registered for {realm}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/keycloak:keycloak-authentication-management-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

keycloak-authentication-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Keycloak Admin REST Authentication Management API
  description: This is a REST API reference for the Keycloak Admin REST API.
  version: '1.0'
tags:
- name: Authentication Management
paths:
  /admin/realms/{realm}/authentication/authenticator-providers:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    get:
      tags:
      - Authentication Management
      summary: Get authenticator providers Returns a stream of authenticator providers
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties: {}
      operationId: getAdminRealmsByRealmAuthenticationAuthenticatorProviders
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/client-authenticator-providers:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    get:
      tags:
      - Authentication Management
      summary: Get client authenticator providers Returns a stream of client authenticator…
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties: {}
      operationId: getAdminRealmsByRealmAuthenticationClientAuthenticatorProviders
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/config:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    post:
      tags:
      - Authentication Management
      summary: Create new authenticator configuration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthenticatorConfigRepresentation'
      responses:
        '201':
          description: Created
        '409':
          description: Conflict
      deprecated: true
      operationId: postAdminRealmsByRealmAuthenticationConfig
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/config-description/{providerId}:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    get:
      tags:
      - Authentication Management
      summary: Get authenticator provider's configuration description
      parameters:
      - name: providerId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticatorConfigInfoRepresentation'
      operationId: getAdminRealmsByRealmAuthenticationConfigDescriptionByProviderId
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/config/{id}:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    get:
      tags:
      - Authentication Management
      summary: Get authenticator configuration
      parameters:
      - name: id
        in: path
        description: Configuration id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticatorConfigRepresentation'
      operationId: getAdminRealmsByRealmAuthenticationConfigById
      x-operation-id-source: derived
    put:
      tags:
      - Authentication Management
      summary: Update authenticator configuration
      parameters:
      - name: id
        in: path
        description: Configuration id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthenticatorConfigRepresentation'
      responses:
        '204':
          description: No Content
      operationId: putAdminRealmsByRealmAuthenticationConfigById
      x-operation-id-source: derived
    delete:
      tags:
      - Authentication Management
      summary: Delete authenticator configuration
      parameters:
      - name: id
        in: path
        description: Configuration id
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
      operationId: deleteAdminRealmsByRealmAuthenticationConfigById
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/executions:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    post:
      tags:
      - Authentication Management
      summary: Add new authentication execution
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthenticationExecutionRepresentation'
      responses:
        '201':
          description: Created
      operationId: postAdminRealmsByRealmAuthenticationExecutions
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/executions/{executionId}:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    get:
      tags:
      - Authentication Management
      summary: Get Single Execution
      parameters:
      - name: executionId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationExecutionRepresentation'
      operationId: getAdminRealmsByRealmAuthenticationExecutionsByExecutionId
      x-operation-id-source: derived
    delete:
      tags:
      - Authentication Management
      summary: Delete execution
      parameters:
      - name: executionId
        in: path
        description: Execution id
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
      operationId: deleteAdminRealmsByRealmAuthenticationExecutionsByExecutionId
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/executions/{executionId}/config:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    post:
      tags:
      - Authentication Management
      summary: Update execution with new configuration
      parameters:
      - name: executionId
        in: path
        description: Execution id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthenticatorConfigRepresentation'
      responses:
        '201':
          description: Created
        '409':
          description: Conflict
      operationId: postAdminRealmsByRealmAuthenticationExecutionsByExecutionIdConfig
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/executions/{executionId}/config/{id}:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    get:
      tags:
      - Authentication Management
      summary: Get execution's configuration
      parameters:
      - name: executionId
        in: path
        description: Execution id
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: Configuration id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticatorConfigRepresentation'
      deprecated: true
      operationId: getAdminRealmsByRealmAuthenticationExecutionsByExecutionIdConfigById
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/executions/{executionId}/lower-priority:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    post:
      tags:
      - Authentication Management
      summary: Lower execution's priority
      parameters:
      - name: executionId
        in: path
        description: Execution id
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
      operationId: postAdminRealmsByRealmAuthenticationExecutionsByExecutionIdLowerPriority
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/executions/{executionId}/raise-priority:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    post:
      tags:
      - Authentication Management
      summary: Raise execution's priority
      parameters:
      - name: executionId
        in: path
        description: Execution id
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
      operationId: postAdminRealmsByRealmAuthenticationExecutionsByExecutionIdRaisePriority
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/flows:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    get:
      tags:
      - Authentication Management
      summary: Get authentication flows Returns a stream of authentication flows
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AuthenticationFlowRepresentation'
      operationId: getAdminRealmsByRealmAuthenticationFlows
      x-operation-id-source: derived
    post:
      tags:
      - Authentication Management
      summary: Create a new authentication flow
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthenticationFlowRepresentation'
      responses:
        '201':
          description: Created
        '409':
          description: Conflict
      operationId: postAdminRealmsByRealmAuthenticationFlows
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/flows/{flowAlias}/copy:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    post:
      tags:
      - Authentication Management
      summary: Copy existing authentication flow under a new name The new name is given as…
      parameters:
      - name: flowAlias
        in: path
        description: name of the existing authentication flow
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties:
                type: string
      responses:
        '201':
          description: Created
        '409':
          description: Conflict
      operationId: postAdminRealmsByRealmAuthenticationFlowsByFlowAliasCopy
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/flows/{flowAlias}/executions:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    get:
      tags:
      - Authentication Management
      summary: Get authentication executions for a flow
      parameters:
      - name: flowAlias
        in: path
        description: Flow alias
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AuthenticationExecutionInfoRepresentation'
      operationId: getAdminRealmsByRealmAuthenticationFlowsByFlowAliasExecutions
      x-operation-id-source: derived
    put:
      tags:
      - Authentication Management
      summary: Update authentication executions of a Flow
      parameters:
      - name: flowAlias
        in: path
        description: Flow alias
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthenticationExecutionInfoRepresentation'
      responses:
        '204':
          description: No Content
        '409':
          description: Conflict
      operationId: putAdminRealmsByRealmAuthenticationFlowsByFlowAliasExecutions
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/flows/{flowAlias}/executions/execution:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    post:
      tags:
      - Authentication Management
      summary: Add new authentication execution to a flow
      parameters:
      - name: flowAlias
        in: path
        description: Alias of parent flow
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: {}
      responses:
        '201':
          description: Created
      operationId: postAdminRealmsByRealmAuthenticationFlowsByFlowAliasExecutionsExecution
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/flows/{flowAlias}/executions/flow:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    post:
      tags:
      - Authentication Management
      summary: Add new flow with new execution to existing flow
      parameters:
      - name: flowAlias
        in: path
        description: Alias of parent authentication flow
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: {}
      responses:
        '201':
          description: Created
        '409':
          description: Conflict
      operationId: postAdminRealmsByRealmAuthenticationFlowsByFlowAliasExecutionsFlow
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/flows/{id}:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    get:
      tags:
      - Authentication Management
      summary: Get authentication flow for id
      parameters:
      - name: id
        in: path
        description: Flow id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFlowRepresentation'
      operationId: getAdminRealmsByRealmAuthenticationFlowsById
      x-operation-id-source: derived
    put:
      tags:
      - Authentication Management
      summary: Update an authentication flow
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthenticationFlowRepresentation'
      responses:
        '204':
          description: No Content
        '409':
          description: Conflict
      operationId: putAdminRealmsByRealmAuthenticationFlowsById
      x-operation-id-source: derived
    delete:
      tags:
      - Authentication Management
      summary: Delete an authentication flow
      parameters:
      - name: id
        in: path
        description: Flow id
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
      operationId: deleteAdminRealmsByRealmAuthenticationFlowsById
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/form-action-providers:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    get:
      tags:
      - Authentication Management
      summary: Get form action providers Returns a stream of form action providers
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties: {}
      operationId: getAdminRealmsByRealmAuthenticationFormActionProviders
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/form-providers:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    get:
      tags:
      - Authentication Management
      summary: Get form providers Returns a stream of form providers
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties: {}
      operationId: getAdminRealmsByRealmAuthenticationFormProviders
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/per-client-config-description:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    get:
      tags:
      - Authentication Management
      summary: Get configuration descriptions for all clients
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: array
                  items:
                    $ref: '#/components/schemas/ConfigPropertyRepresentation'
      operationId: getAdminRealmsByRealmAuthenticationPerClientConfigDescription
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/register-required-action:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    post:
      tags:
      - Authentication Management
      summary: Register a new required actions
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties:
                type: string
      responses:
        '204':
          description: No Content
      operationId: postAdminRealmsByRealmAuthenticationRegisterRequiredAction
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/required-actions:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    get:
      tags:
      - Authentication Management
      summary: Get required actions Returns a stream of required actions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RequiredActionProviderRepresentation'
      operationId: getAdminRealmsByRealmAuthenticationRequiredActions
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/required-actions/{alias}:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    get:
      tags:
      - Authentication Management
      summary: Get required action for alias
      parameters:
      - name: alias
        in: path
        description: Alias of required action
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RequiredActionProviderRepresentation'
      operationId: getAdminRealmsByRealmAuthenticationRequiredActionsByAlias
      x-operation-id-source: derived
    put:
      tags:
      - Authentication Management
      summary: Update required action
      parameters:
      - name: alias
        in: path
        description: Alias of required action
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RequiredActionProviderRepresentation'
      responses:
        '204':
          description: No Content
      operationId: putAdminRealmsByRealmAuthenticationRequiredActionsByAlias
      x-operation-id-source: derived
    delete:
      tags:
      - Authentication Management
      summary: Delete required action
      parameters:
      - name: alias
        in: path
        description: Alias of required action
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
      operationId: deleteAdminRealmsByRealmAuthenticationRequiredActionsByAlias
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/required-actions/{alias}/config:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    get:
      tags:
      - Authentication Management
      summary: Get RequiredAction configuration
      parameters:
      - name: alias
        in: path
        description: Alias of required action
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RequiredActionConfigRepresentation'
      operationId: getAdminRealmsByRealmAuthenticationRequiredActionsByAliasConfig
      x-operation-id-source: derived
    put:
      tags:
      - Authentication Management
      summary: Update RequiredAction configuration
      parameters:
      - name: alias
        in: path
        description: Alias of required action
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RequiredActionConfigRepresentation'
      responses:
        '204':
          description: No Content
      operationId: putAdminRealmsByRealmAuthenticationRequiredActionsByAliasConfig
      x-operation-id-source: derived
    delete:
      tags:
      - Authentication Management
      summary: Delete RequiredAction configuration
      parameters:
      - name: alias
        in: path
        description: Alias of required action
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
      operationId: deleteAdminRealmsByRealmAuthenticationRequiredActionsByAliasConfig
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/required-actions/{alias}/config-description:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    get:
      tags:
      - Authentication Management
      summary: Get RequiredAction provider configuration description
      parameters:
      - name: alias
        in: path
        description: Alias of required action
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RequiredActionConfigInfoRepresentation'
      operationId: getAdminRealmsByRealmAuthenticationRequiredActionsByAliasConfigDescription
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/required-actions/{alias}/lower-priority:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    post:
      tags:
      - Authentication Management
      summary: Lower required action's priority
      parameters:
      - name: alias
        in: path
        description: Alias of required action
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
      operationId: postAdminRealmsByRealmAuthenticationRequiredActionsByAliasLowerPriority
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/required-actions/{alias}/raise-priority:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    post:
      tags:
      - Authentication Management
      summary: Raise required action's priority
      parameters:
      - name: alias
        in: path
        description: Alias of required action
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
      operationId: postAdminRealmsByRealmAuthenticationRequiredActionsByAliasRaisePriority
      x-operation-id-source: derived
  /admin/realms/{realm}/authentication/unregistered-required-actions:
    parameters:
    - name: realm
      in: path
      description: realm name (not id!)
      required: true
      schema:
        type: string
    get:
      tags:
      - Authentication Management
      summary: Get unregistered required actions Returns a stream of unregistered required…
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties:
                    type: string
      operationId: getAdminRealmsByRealmAuthenticationUnregisteredRequiredActions
      x-operation-id-source: derived
components:
  schemas:
    ConfigPropertyRepresentation:
      type: object
      properties:
        name:
          type: string
        label:
          type: string
        helpText:
          type: string
        type:
          type: string
        defaultValue: {}
        options:
          type: array
          items:
            type: string
        secret:
          type: boolean
        required:
          type: boolean
        readOnly:
          type: boolean
    AuthenticationExecutionExportRepresentation:
      type: object
      properties:
        authenticatorConfig:
          type: string
        authenticator:
          type: string
        authenticatorFlow:
          type: boolean
        requirement:
          type: string
        priority:
          format: int32
          type: integer
        autheticatorFlow:
          type: boolean
          deprecated: true
        flowAlias:
          type: string
        userSetupAllowed:
          type: boolean
    AuthenticationFlowRepresentation:
      type: object
      properties:
        id:
          type: string
        alias:
          type: string
        description:
          type: string
        providerId:
          type: string
        topLevel:
          type: boolean
        builtIn:
          type: boolean
        authenticationExecutions:
          type: array
          items:
            $ref: '#/components/schemas/AuthenticationExecutionExportRepresentation'
    RequiredActionConfigRepresentation:
      type: object
      properties:
        config:
          type: object
          additionalProperties:
            type: string
    AuthenticatorConfigInfoRepresentation:
      type: object
      properties:
        name:
          type: string
        providerId:
          type: string
        helpText:
          type: string
        properties:
          type: array
          items:
            $ref: '#/components/schemas/ConfigPropertyRepresentation'
    AuthenticationExecutionRepresentation:
      type: object
      properties:
        authenticatorConfig:
          type: string
        authenticator:
          type: string
        authenticatorFlow:
          type: boolean
        requirement:
          type: string
        priority:
          format: int32
          type: integer
        autheticatorFlow:
          type: boolean
          deprecated: true
        id:
          type: string
        flowId:
          type: string
        parentFlow:
          type: string
    AuthenticatorConfigRepresentation:
      type: object
      properties:
        id:
          type: string
        alias:
          type: string
        config:
          type: object
          additionalProperties:
            type: string
    RequiredActionConfigInfoRepresentation:
      type: object
      properties:
        properties:
          type: array
          items:
            $ref: '#/components/schemas/ConfigPropertyRepresentation'
    RequiredActionProviderRepresentation:
      type: object
      properties:
        alias:
          type: string
        name:
          type: string
        providerId:
          type: string
        enabled:
          type: boolean
        defaultAction:
          type: boolean
        priority:
          format: int32
          type: integer
        config:
          type: object
          additionalProperties:
            type: string
    AuthenticationExecutionInfoRepresentation:
      type: object
      properties:
        id:
          type: string
        requirement:
          type: string
        displayName:
          type: string
        alias:
          type: string
        description:
          type: string
        requirementChoices:
          type: array
          items:
            type: string
        configurable:
          type: boolean
        authenticationFlow:
          type: boolean
        providerId:
          type: string
        authenticationConfig:
          type: string
        flowId:
          type: string
        level:
          format: int32
          type: integer
        index:
          format: int32
          type: integer
        priority:
          format: int32
          type: integer