Realms
Create a realm
Creates a new realm in the specified cluster. The cluster must be in the available state.
Required scope: realms:write
post/clusters/{cluster_id}/realms
Request
- Base URL: http://localhost:8000
- URL: http://localhost:8000/clusters/{cluster_id}/realms
- Auth: API key in header API-Key
Path parameters
cluster_idstring uuid required
Headers
API-Version'2026-06-01.beta' required
Request body
Example request
{
"name": "customer-portal",
"display_name": "Customer Portal"
}Response
The request has succeeded and a new resource has been created as a result.
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "customer-portal",
"enabled": true,
"login_with_email_allowed": true,
"default_branding_applied": true
}Changes
No recorded changes to this operation across all 1 revision of this API.