Domain Routes

Update a domain route

Updates the CORS configuration or admin access setting for a route.

Required scope: domains:write

patch/clusters/{cluster_id}/domains/{domain_id}/routes/{route_id}

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/clusters/{cluster_id}/domains/{domain_id}/routes/{route_id}
  • Auth: API key in header API-Key

Path parameters

cluster_idstring uuid required
domain_idstring uuid required
route_idstring uuid required

Headers

API-Version'2026-06-01.beta' required

Request body

allow_admin_accessboolean
cors_allowed_originsstring[]

Response

The request has succeeded.

idstring uuid required
domain_idstring uuid required
cluster_idstring uuid required
realmstring required

Keycloak realm name (not ID). Must start with a letter; allows letters, digits, and hyphens.

hide_realm_pathboolean required

When true, the /realms/{name} path segment is omitted from URLs served by this domain.

allow_admin_accessboolean required

When true, the Keycloak admin console is accessible via this domain.

cors_allowed_originsstring[] required

CORS origins allowed to make requests via this domain.

created_atstring date-time required
updated_atstring date-time required

Example response

{
  "realm": "customer-portal"
}

Changes

No recorded changes to this operation across all 1 revision of this API.