keycloak_request
Call any Keycloak Admin REST endpoint directly, covering operations no curated tool handles. Read-only by default; enable writes via configuration.
Instructions
Escape hatch: call any Keycloak Admin REST endpoint directly. Use it when no curated tool fits — user federation components, authorization policies, organizations, partial import/export, credentials. path is relative to the realm (users/123/credentials resolves under /admin/realms/{realm}/), or pass an absolute admin path starting with /admin/ (e.g. /admin/serverinfo). Writes are DISABLED: only GET is permitted. Set KEYCLOAK_ALLOW_WRITES=1 to allow mutations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body, for POST/PUT/DELETE. | |
| path | Yes | Realm-relative path (e.g. `users/8f3c.../credentials`, `components`) or an absolute admin path (e.g. `/admin/serverinfo`). | |
| query | No | Query string parameters. | |
| realm | No | Realm to operate on. Defaults to the server's configured realm (KEYCLOAK_REALM). | |
| method | No | GET |