Skip to content

Update a cluster

PATCH
/clusters/{cluster_id}
curl --request PATCH \
  --url http://localhost:8000/clusters/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
  --header 'API-Key: <API-Key>' \
  --header 'API-Version: 2026-06-01.beta' \
  --header 'Content-Type: application/json' \
  --data '{ "size": "medium" }'

Updates one or more fields on the cluster. All fields are optional — only the fields provided are changed.

Version upgrades

Set version to upgrade the cluster to a newer Keycloak version. Upgrades are sequential only — you must upgrade one version at a time. To determine the correct next version, use the GET /clusters/{cluster_id}/upgrade-path endpoint, which returns the ordered sequence of versions the cluster must pass through to reach the latest available version.

Attempting to skip a version returns 409 Conflict. Downgrading to a lower version is not supported.

Major version upgrades (e.g. 25.x → 26.x) include database schema migrations that cannot be easily reversed. Cancelling a major upgrade mid-flight via POST /clusters/{cluster_id}/upgrades/cancel is possible but risky if migrations have already been applied.

Public access

Set public_access to false to serve the cluster only on its private link hostname. This needs the private_network plan feature (403 without it) and a site with Azure private link (422 otherwise), and is refused with 409 unless private link is enabled and ready on the cluster. Setting it back to true is always allowed. Public access is applied before the other fields, so if the rest of the update is then refused or fails, the public access change has still been made.

Required scope: clusters:write

cluster_id
required
string format: uuid
API-Version
required
string
Allowed values: 2026-06-01.beta
Media typeapplication/json

Partial update request. At least one field must be provided. location and type cannot be changed after creation.

object
name
string
>= 1 characters <= 63 characters /^[a-zA-Z][a-zA-Z0-9 _-]*$/
size
string
Allowed values: small medium large
version

Cluster version in semver format. Check the documentation for the latest supported versions.

string
>= 1 characters <= 20 characters /^[0-9]+\.[0-9]+(\.[0-9]+)?$/

Example

26.5.5
management_mode

Change the management mode of the cluster.

string
Allowed values: full
features

Replace the full set of enabled feature flags.

Array<string>
features_disabled

Replace the full set of disabled feature flags.

Array<string>
http_relative_path

Change the HTTP path prefix. Set to / to revert to the root path.

string
sso_enabled

Whether to enable or disable SSO integration.

boolean
auto_upgrade_enabled

Enable or disable automatic patch upgrades.

boolean
public_access

Turn the cluster’s public hostname on or off. Turning it off needs the private_network plan feature and is refused with 409 unless Azure private link is enabled and ready on the cluster, because the private hostname is then the only way in. Returns 403 without the plan feature and 422 when the cluster’s site has no Azure private link.

boolean

Example

{
  "size": "medium"
}

The request has succeeded.

Media typeapplication/json

A Keycloak cluster managed by Skycloak.

object
id
required

Unique cluster identifier.

string format: uuid
name
required

Human-readable cluster name.

string
>= 1 characters <= 63 characters /^[a-zA-Z][a-zA-Z0-9 _-]*$/
type
required
string
Allowed values: keycloak tidecloak
size
required
string
Allowed values: small medium large
version
required

Cluster version in semver format. Check the documentation for the latest supported versions.

string
>= 1 characters <= 20 characters /^[0-9]+\.[0-9]+(\.[0-9]+)?$/
location
required

Region where the cluster is hosted. us-west is open to paid plans, while free trials stay on us. ca is hosted in Beauharnois, Quebec.

string
Allowed values: us us-west ca au eu
site

Site hosting the cluster, a free text code such as us-east. Clusters created without a site are in their region’s default site.

string
status
required
string
Allowed values: provisioning available updating degraded maintenance stopped failed deleting
management_mode
required

Skycloak manages the full lifecycle of the cluster. Every cluster is fully managed.

string
Allowed values: full
url
required

Keycloak instance URL. Only non-empty once the cluster reaches available status.

string format: uri
sso_enabled
required

Whether admin console SSO integration is enabled for this cluster.

boolean
auto_upgrade_enabled

Whether automatic patch upgrades are enabled for this cluster.

boolean
http_relative_path
required

Path prefix Keycloak is served from (e.g. /auth). Empty string means /.

string
created_at
required
string format: date-time
updated_at
required
string format: date-time
features
required

Keycloak feature flags explicitly enabled on this cluster.

Array<string>
features_disabled
required

Keycloak feature flags explicitly disabled on this cluster.

Array<string>
public_access

Whether the cluster’s public hostname is served. When false the cluster is reachable only through its private link hostname.

boolean

Example

{
  "type": "keycloak",
  "size": "small",
  "version": "26.5.5",
  "location": "us",
  "status": "provisioning",
  "management_mode": "full",
  "http_relative_path": ""
}

The server could not understand the request due to invalid syntax.

Media typeapplication/problem+json

RFC 9457 Problem Details object.

object
type
required
string format: uri
title
required
string
status
required
integer
detail
required
string
instance
string format: uri

Example generated

{
  "type": "https://example.com",
  "title": "example",
  "status": 1,
  "detail": "example",
  "instance": "https://example.com"
}

Access is unauthorized.

Media typeapplication/problem+json

RFC 9457 Problem Details object.

object
type
required
string format: uri
title
required
string
status
required
integer
detail
required
string
instance
string format: uri

Example generated

{
  "type": "https://example.com",
  "title": "example",
  "status": 1,
  "detail": "example",
  "instance": "https://example.com"
}

Access is forbidden.

Media typeapplication/problem+json

RFC 9457 Problem Details object.

object
type
required
string format: uri
title
required
string
status
required
integer
detail
required
string
instance
string format: uri

Example generated

{
  "type": "https://example.com",
  "title": "example",
  "status": 1,
  "detail": "example",
  "instance": "https://example.com"
}

The server cannot find the requested resource.

Media typeapplication/problem+json

RFC 9457 Problem Details object.

object
type
required
string format: uri
title
required
string
status
required
integer
detail
required
string
instance
string format: uri

Example generated

{
  "type": "https://example.com",
  "title": "example",
  "status": 1,
  "detail": "example",
  "instance": "https://example.com"
}

The request conflicts with the current state of the server.

Media typeapplication/problem+json

RFC 9457 Problem Details object.

object
type
required
string format: uri
title
required
string
status
required
integer
detail
required
string
instance
string format: uri

Example generated

{
  "type": "https://example.com",
  "title": "example",
  "status": 1,
  "detail": "example",
  "instance": "https://example.com"
}

Client error

Media typeapplication/problem+json
object
type
required
string format: uri
title
required
string
status
required
integer
detail
required
string
instance
string format: uri
errors
required
Array<object>
>= 1 items
object
field
required
string
detail
required
string
code
string
value

Example generated

{
  "type": "https://example.com",
  "title": "example",
  "status": 1,
  "detail": "example",
  "instance": "https://example.com",
  "errors": [
    {
      "field": "example",
      "detail": "example",
      "code": "example",
      "value": "example"
    }
  ]
}

Client error

Media typeapplication/problem+json

RFC 9457 Problem Details object.

object
type
required
string format: uri
title
required
string
status
required
integer
detail
required
string
instance
string format: uri

Example generated

{
  "type": "https://example.com",
  "title": "example",
  "status": 1,
  "detail": "example",
  "instance": "https://example.com"
}
Retry-After
integer
RateLimit-Limit
integer
RateLimit-Remaining
integer
RateLimit-Reset
integer
X-RateLimit-Limit-Second
integer
X-RateLimit-Remaining-Second
integer
X-RateLimit-Limit-Minute
integer
X-RateLimit-Remaining-Minute
integer
X-RateLimit-Limit-Hour
integer
X-RateLimit-Remaining-Hour
integer
X-RateLimit-Limit-Day
integer
X-RateLimit-Remaining-Day
integer

Server error

Media typeapplication/problem+json

RFC 9457 Problem Details object.

object
type
required
string format: uri
title
required
string
status
required
integer
detail
required
string
instance
string format: uri

Example generated

{
  "type": "https://example.com",
  "title": "example",
  "status": 1,
  "detail": "example",
  "instance": "https://example.com"
}

Server error

Media typeapplication/problem+json

RFC 9457 Problem Details object.

object
type
required
string format: uri
title
required
string
status
required
integer
detail
required
string
instance
string format: uri

Example generated

{
  "type": "https://example.com",
  "title": "example",
  "status": 1,
  "detail": "example",
  "instance": "https://example.com"
}