Realms
Update a realm
Partially updates realm settings.
Required scope: realms:write
patch/clusters/{cluster_id}/realms/{realm_name}
Request
- Base URL: http://localhost:8000
- URL: http://localhost:8000/clusters/{cluster_id}/realms/{realm_name}
- Auth: API key in header API-Key
Path parameters
cluster_idstring uuid required
realm_namestring required
Keycloak realm name (not ID). Must start with a letter; allows letters, digits, and hyphens.
Example:customer-portal
Headers
API-Version'2026-06-01.beta' required
Request body
Example request
{
"enabled": false
}Response
The request has succeeded.
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "customer-portal",
"display_name": "Customer Portal",
"enabled": true,
"ssl_required": "external",
"registration_allowed": false,
"registration_email_as_username": false,
"login_with_email_allowed": true,
"duplicate_emails_allowed": false
}Changes
No recorded changes to this operation across all 1 revision of this API.