Update a cluster
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.
Required scope: clusters:write
Request
- Base URL: http://localhost:8000
- URL: http://localhost:8000/clusters/{cluster_id}
- Auth: API key in header API-Key
Path parameters
Headers
Request body
Example request
{
"size": "medium"
}Response
The request has succeeded.
Example response
{
"version": "26.5.5"
}Changes
No recorded changes to this operation across all 1 revision of this API.