Keycloak · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Keycloak Admin REST Client Role Mappings API
16 actions
16 updates
phrasing
extends
openapi/keycloak-client-role-mappings-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Keycloak's API. It is a proposal applied on top of the contract, not a document Keycloak publishes.
What the actions change
x-apievangelist-phrasing
Targets 16
$.info
$.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}'].get
$.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}'].post
$.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}'].delete
$.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}/available'].get
$.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}/composite'].get
$.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/clients/{client-id}'].get
$.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/clients/{client-id}'].post
$.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/clients/{client-id}'].delete
$.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/clients/{client-id}/available'].get
$.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/clients/{client-id}/composite'].get
$.paths['/admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}'].get
$.paths['/admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}'].post
$.paths['/admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}'].delete
$.paths['/admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}/available'].get
$.paths['/admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}/composite'].get
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Keycloak Admin REST Client Role Mappings API
version: 1.0.0
extends: openapi/keycloak-client-role-mappings-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-16'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 15
- target: $.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}'].get
update:
x-apievangelist-phrasing:
intent: List a group's client-level role mappings
effect: read
questions:
- Which roles are mapped to a particular group on a client?
- Can I see the client-level roles assigned to a group?
instructions:
- text: List client-level role mappings for group {group} on client {client} in realm {realm}.
slots:
group: path.group-id
client: path.client-id
realm: path.realm
- text: Show the roles group {group} has on client {client} in {realm}.
slots:
group: path.group-id
client: path.client-id
realm: path.realm
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}'].post
update:
x-apievangelist-phrasing:
intent: Map client-level roles to a group
effect: write
questions:
- How do I give a group roles on a client?
- Can I add client-level roles to a group?
instructions:
- text: Map roles to group {group} on client {client} in realm {realm}.
slots:
group: path.group-id
client: path.client-id
realm: path.realm
- text: Grant group {group} client-level roles on {client} in {realm}.
slots:
group: path.group-id
client: path.client-id
realm: path.realm
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}'].delete
update:
x-apievangelist-phrasing:
intent: Unmap client-level roles from a group
effect: destructive
questions:
- How do I remove roles from a group on a client?
- Can I revoke a group's client-level roles?
instructions:
- text: Unmap roles from group {group} on client {client} in realm {realm}.
slots:
group: path.group-id
client: path.client-id
realm: path.realm
- text: Revoke group {group}'s client-level roles on {client} in {realm}.
slots:
group: path.group-id
client: path.client-id
realm: path.realm
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}/available'].get
update:
x-apievangelist-phrasing:
intent: List roles available to a group on a client
effect: read
questions:
- What roles can I map to a group on a client?
- Which client-level roles are available for a group?
instructions:
- text: List available client-level roles for group {group} on client {client} in realm {realm}.
slots:
group: path.group-id
client: path.client-id
realm: path.realm
- text: Show roles I can assign group {group} on {client} in {realm}.
slots:
group: path.group-id
client: path.client-id
realm: path.realm
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/clients/{client-id}/composite'].get
update:
x-apievangelist-phrasing:
intent: List a group's effective client-level roles
effect: read
questions:
- What roles does a group actually have on a client, including composites?
- Can I get the effective client-level role mappings for a group?
instructions:
- text: Get effective client-level role mappings for group {group} on client {client} in realm {realm}.
slots:
group: path.group-id
client: path.client-id
realm: path.realm
- text: Show group {group}'s composite roles on {client} in {realm}, with brief {brief}.
slots:
group: path.group-id
client: path.client-id
realm: path.realm
brief: query.briefRepresentation
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/clients/{client-id}'].get
update:
x-apievangelist-phrasing:
intent: List a group's client-level role mappings in an organization
effect: read
questions:
- Which roles are mapped to a group in an organization on a client?
- Can I see a group's client-level roles within an organization?
instructions:
- text: List client-level role mappings for group {group} on client {client} in organization {org} of realm {realm}.
slots:
group: path.group-id
client: path.client-id
org: path.org-id
realm: path.realm
- text: Show the roles group {group} has on {client} in org {org} in {realm}.
slots:
group: path.group-id
client: path.client-id
org: path.org-id
realm: path.realm
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/clients/{client-id}'].post
update:
x-apievangelist-phrasing:
intent: Assign client roles to an organization group
effect: write
questions:
- How do I give an organization group a role in a client?
- Can I map several client roles to an organization group?
instructions:
- text: Assign client {client} roles to organization group {group} in realm {realm}, org {org}.
slots:
client: path.client-id
group: path.group-id
realm: path.realm
org: path.org-id
- text: Map roles from client {client} to org group {group}, realm {realm}, org {org}.
slots:
client: path.client-id
group: path.group-id
realm: path.realm
org: path.org-id
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/clients/{client-id}'].delete
update:
x-apievangelist-phrasing:
intent: Remove client roles from an organization group
effect: destructive
questions:
- How do I revoke a client role from an organization group?
- Can I take client role mappings off an org group?
instructions:
- text: Remove client {client} roles from organization group {group} in realm {realm}, org {org}.
slots:
client: path.client-id
group: path.group-id
realm: path.realm
org: path.org-id
- text: Unmap roles from client {client} on org group {group}, realm {realm}, org {org}.
slots:
client: path.client-id
group: path.group-id
realm: path.realm
org: path.org-id
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/clients/{client-id}/available'].get
update:
x-apievangelist-phrasing:
intent: List client roles available for an organization group
effect: read
questions:
- Which client roles can I assign to an organization group?
- What unassigned client roles are available to an org group?
instructions:
- text: List available client {client} roles for organization group {group} in realm {realm}, org {org}.
slots:
client: path.client-id
group: path.group-id
realm: path.realm
org: path.org-id
- text: Show roles I could map to org group {group}, realm {realm}, org {org}, client {client}.
slots:
group: path.group-id
realm: path.realm
org: path.org-id
client: path.client-id
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/clients/{client-id}/composite'].get
update:
x-apievangelist-phrasing:
intent: See effective client roles on an organization group
effect: read
questions:
- What client roles does an organization group have, including composite roles?
- Are composite roles expanded when I check an org group's client roles?
instructions:
- text: Show composable client roles on organization group {group} in realm {realm}, org {org}, client {client}.
slots:
group: path.group-id
realm: path.realm
org: path.org-id
client: path.client-id
- text: Expand composite roles for org group {group}, realm {realm}, org {org}, client {client} and return brief {brief}.
slots:
group: path.group-id
realm: path.realm
org: path.org-id
client: path.client-id
brief: query.briefRepresentation
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}'].get
update:
x-apievangelist-phrasing:
intent: List a user's client-level role mappings
effect: read
questions:
- Which roles are mapped to a particular user on a client?
- Can I see the client-level roles assigned to a user?
instructions:
- text: List client-level role mappings for user {user} on client {client} in realm {realm}.
slots:
user: path.user-id
client: path.client-id
realm: path.realm
- text: Show the roles user {user} has on client {client} in {realm}.
slots:
user: path.user-id
client: path.client-id
realm: path.realm
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}'].post
update:
x-apievangelist-phrasing:
intent: Map client-level roles to a user
effect: write
questions:
- How do I give a user roles on a client?
- Can I add client-level roles to a user?
instructions:
- text: Map roles to user {user} on client {client} in realm {realm}.
slots:
user: path.user-id
client: path.client-id
realm: path.realm
- text: Grant user {user} client-level roles on {client} in {realm}.
slots:
user: path.user-id
client: path.client-id
realm: path.realm
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}'].delete
update:
x-apievangelist-phrasing:
intent: Unmap client-level roles from a user
effect: destructive
questions:
- How do I remove roles from a user on a client?
- Can I revoke a user's client-level roles?
instructions:
- text: Unmap roles from user {user} on client {client} in realm {realm}.
slots:
user: path.user-id
client: path.client-id
realm: path.realm
- text: Revoke user {user}'s client-level roles on {client} in {realm}.
slots:
user: path.user-id
client: path.client-id
realm: path.realm
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}/available'].get
update:
x-apievangelist-phrasing:
intent: List roles available to a user on a client
effect: read
questions:
- What roles can I map to a user on a client?
- Which client-level roles are available for a user?
instructions:
- text: List available client-level roles for user {user} on client {client} in realm {realm}.
slots:
user: path.user-id
client: path.client-id
realm: path.realm
- text: Show roles I can assign user {user} on {client} in {realm}.
slots:
user: path.user-id
client: path.client-id
realm: path.realm
method: generated
generated: '2026-11-16'
- target: $.paths['/admin/realms/{realm}/users/{user-id}/role-mappings/clients/{client-id}/composite'].get
update:
x-apievangelist-phrasing:
intent: List a user's effective client-level roles
effect: read
questions:
- What roles does a user actually have on a client, including composites?
- Can I get the effective client-level role mappings for a user?
instructions:
- text: Get effective client-level role mappings for user {user} on client {client} in realm {realm}.
slots:
user: path.user-id
client: path.client-id
realm: path.realm
- text: Show user {user}'s composite roles on {client} in {realm}, with brief {brief}.
slots:
user: path.user-id
client: path.client-id
realm: path.realm
brief: query.briefRepresentation
method: generated
generated: '2026-11-16'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/keycloak-client-role-mappings-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.