K

Keycloak Admin REST API

REST discovered

Details
URL
{base url}/admin/realms
Spec
https://www.keycloak.org/docs-api/latest/rest-api/openapi.yaml
Spec (json)
https://www.keycloak.org/docs-api/latest/rest-api/openapi.json
Docs
https://www.keycloak.org/docs-api/latest/rest-api/index.html
Authentication
Keycloak bearer access token for admin or client-registration APIs bearer discovered
Authorization: Bearer <credential>

Create a confidential client or use a user/service account in your Keycloak realm, then obtain an access token from the realm token endpoint described in the OpenID Connect endpoints guide. For admin or client-registration access, grant the needed realm-management roles as described in Using the client registration service and Automating client registration with the CLI.