Skip to content
Select languageEnglish

Trial Realm API Routes

A free trial realm lives on a shared trial cluster. Your API key can call the realm routes for your own realm on that cluster, from curl, scripts or Terraform. Routes that manage the cluster itself need a dedicated cluster.

Open your realm in the dashboard. The Public API card on the realm overview shows the Cluster ID and the Realm slug, each with a copy button. Use them in the routes below as {cluster_id} and {realm_slug}.

Create an API key under API keys in your workspace. See Authentication.

These routes work on the shared trial cluster, for your own realm only:

Area Routes
Realm settings GET and PATCH /clusters/{cluster_id}/realms/{realm_slug}; a PATCH that sets enabled is refused with 403, because a trial realm is turned on and off with the trial
Applications /clusters/{cluster_id}/realms/{realm_slug}/applications and everything under it
Client roles /clusters/{cluster_id}/realms/{realm_slug}/clients/{client_id}/roles and everything under it
Groups /clusters/{cluster_id}/realms/{realm_slug}/groups and everything under it
Roles /clusters/{cluster_id}/realms/{realm_slug}/roles and everything under it
Users /clusters/{cluster_id}/realms/{realm_slug}/users and everything under it
Identity providers /clusters/{cluster_id}/realms/{realm_slug}/identity-providers and everything under it

Your API key still needs the scope each route asks for, the same as on a dedicated cluster.

curl "https://api.skycloak.io/clusters/$CLUSTER_ID/realms/$REALM_SLUG/users" \
  -H "API-Key: $SKYCLOAK_API_KEY" \
  -H "API-Version: 2026-06-01.beta"

A realm slug that is not your own realm returns 404, the same as a realm that does not exist. You cannot read or change another workspace’s realm.

Every other route on the shared trial cluster returns 403 with an error saying a dedicated cluster is needed. That includes:

  • Reading, updating or deleting the cluster, and upgrades and Keycloak features.
  • Listing, creating, importing or deleting realms.
  • Branding, email (SMTP), themes and realm exports.
  • Logs, events, insights, domains, security settings and backups.

GET /clusters lists your dedicated clusters only. It does not list the shared trial cluster.