Keycloak · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Keycloak Admin REST Role Mapper API
19 actions
19 updates
phrasing
extends
openapi/keycloak-role-mapper-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 19 · first 16 shown; the file carries all of them
$.info
$.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings'].get
$.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/realm'].get
$.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/realm'].post
$.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/realm'].delete
$.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/realm/available'].get
$.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/realm/composite'].get
$.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings'].get
$.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/realm'].get
$.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/realm'].post
$.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/realm'].delete
$.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/realm/available'].get
$.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/realm/composite'].get
$.paths['/admin/realms/{realm}/users/{user-id}/role-mappings'].get
$.paths['/admin/realms/{realm}/users/{user-id}/role-mappings/realm'].get
$.paths['/admin/realms/{realm}/users/{user-id}/role-mappings/realm'].post
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 Role Mapper API
version: 1.0.0
extends: openapi/keycloak-role-mapper-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-17'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 18
- target: $.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings'].get
update:
x-apievangelist-phrasing:
intent: List a group's role mappings
effect: read
questions:
- Which roles are mapped to a particular group?
- Can I see a group's realm and client role mappings together?
instructions:
- text: List role mappings for group {group} in realm {realm}.
slots:
group: path.group-id
realm: path.realm
- text: Show every role assigned to group {group} in realm {realm}.
slots:
group: path.group-id
realm: path.realm
method: generated
generated: '2026-11-17'
- target: $.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/realm'].get
update:
x-apievangelist-phrasing:
intent: Get realm roles for a group
effect: read
questions:
- Which roles are assigned to a group in my realm?
- Can I see a group's realm-level roles?
instructions:
- text: Get realm-level roles for group {group} in realm {realm}.
slots:
group: path.group-id
realm: path.realm
- text: List roles assigned to group {group}.
slots:
group: path.group-id
method: generated
generated: '2026-11-17'
- target: $.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/realm'].post
update:
x-apievangelist-phrasing:
intent: Add realm roles to a group
effect: write
questions:
- How do I give a group a realm role?
- Can I map several realm roles to a group at once?
instructions:
- text: Add realm-level roles to group {group} in realm {realm}.
slots:
group: path.group-id
realm: path.realm
- text: Grant group {group} these realm roles in realm {realm}.
slots:
group: path.group-id
realm: path.realm
method: generated
generated: '2026-11-17'
- target: $.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/realm'].delete
update:
x-apievangelist-phrasing:
intent: Remove realm roles from a group
effect: destructive
questions:
- How do I take a realm role away from a group?
- Can I revoke several realm roles from a group in one call?
instructions:
- text: Remove realm-level roles from group {group} in realm {realm}.
slots:
group: path.group-id
realm: path.realm
- text: Revoke group {group}'s realm roles in realm {realm}.
slots:
group: path.group-id
realm: path.realm
method: generated
generated: '2026-11-17'
- target: $.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/realm/available'].get
update:
x-apievangelist-phrasing:
intent: List realm roles available to a group
effect: read
questions:
- Which realm roles can I map to a group?
- What roles are still free to assign to a group?
instructions:
- text: List realm roles available to group {group} in realm {realm}.
slots:
group: path.group-id
realm: path.realm
- text: Show unassigned realm roles I could give group {group} in realm {realm}.
slots:
group: path.group-id
realm: path.realm
method: generated
generated: '2026-11-17'
- target: $.paths['/admin/realms/{realm}/groups/{group-id}/role-mappings/realm/composite'].get
update:
x-apievangelist-phrasing:
intent: Get effective realm roles for a group
effect: read
questions:
- Taking a group's composite roles into account, what roles does it have?
- Which roles does a group inherit through roles it is assigned to?
instructions:
- text: Get effective realm roles for group {group} in realm {realm}.
slots:
group: path.group-id
realm: path.realm
- text: Show inherited roles of group {group}, composing composite roles.
slots:
group: path.group-id
method: generated
generated: '2026-11-17'
- target: $.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings'].get
update:
x-apievangelist-phrasing:
intent: Get all role mappings for a group
effect: read
questions:
- What roles are mapped on a group across realms and client scopes?
- Can I get every role mapping on a group at once?
instructions:
- text: Get all role mappings for group {group} in organization {org} of realm {realm}.
slots:
group: path.group-id
org: path.org-id
realm: path.realm
- text: List every role mapping on group {group}.
slots:
group: path.group-id
method: generated
generated: '2026-11-17'
- target: $.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/realm'].get
update:
x-apievangelist-phrasing:
intent: Get realm roles for a group
effect: read
questions:
- Which realm roles are assigned to a group in an organization?
- Can I see only the realm-level roles mapped on a group?
instructions:
- text: Get realm-level roles for group {group} in organization {org} of realm {realm}.
slots:
group: path.group-id
org: path.org-id
realm: path.realm
- text: Show only the realm roles of group {group}.
slots:
group: path.group-id
method: generated
generated: '2026-11-17'
- target: $.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/realm'].post
update:
x-apievangelist-phrasing:
intent: Assign realm roles to a group
effect: write
questions:
- Can I give a group additional realm roles?
- How do I map a new realm role onto a group?
instructions:
- text: Add realm roles to group {group} in organization {org} of realm {realm}.
slots:
group: path.group-id
org: path.org-id
realm: path.realm
- text: Assign a new realm role to group {group}.
slots:
group: path.group-id
method: generated
generated: '2026-11-17'
- target: $.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/realm'].delete
update:
x-apievangelist-phrasing:
intent: Remove realm roles from a group
effect: destructive
questions:
- Can I take a realm role away from a group?
- How do I unmap a realm role from a group?
instructions:
- text: Remove realm roles from group {group} in organization {org} of realm {realm}.
slots:
group: path.group-id
org: path.org-id
realm: path.realm
- text: Unassign a realm role from group {group}.
slots:
group: path.group-id
method: generated
generated: '2026-11-17'
- target: $.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/realm/available'].get
update:
x-apievangelist-phrasing:
intent: List unassigned realm roles for a group
effect: read
questions:
- Which realm roles can still be mapped onto a group?
- Can I see the realm roles a group has no role mapping on yet?
instructions:
- text: Get unassigned realm roles for group {group} in organization {org} of realm {realm}.
slots:
group: path.group-id
org: path.org-id
realm: path.realm
- text: List realm roles available to give to group {group}.
slots:
group: path.group-id
method: generated
generated: '2026-11-17'
- target: $.paths['/admin/realms/{realm}/organizations/{org-id}/groups/{group-id}/role-mappings/realm/composite'].get
update:
x-apievangelist-phrasing:
intent: Get effective realm roles of an organization group
effect: read
questions:
- What realm roles does an organization's group effectively hold once composite roles are expanded?
- Can I see the full inherited realm role set for a group inside an organization?
- Which realm roles reach an organization group through composite roles, and can I get their attributes too?
instructions:
- text: Get effective realm roles, including composites, for group {group} in organization {org} of realm {realm}.
slots:
group: path.group-id
org: path.org-id
realm: path.realm
- text: Expand composite realm roles for organization {org} group {group} in realm {realm}, with full attributes if {brief} is false.
slots:
org: path.org-id
group: path.group-id
realm: path.realm
brief: query.briefRepresentation
method: generated
generated: '2026-11-17'
- target: $.paths['/admin/realms/{realm}/users/{user-id}/role-mappings'].get
update:
x-apievangelist-phrasing:
intent: List a user's role mappings
effect: read
questions:
- Which roles are mapped to a particular user?
- Can I see a user's realm and client role mappings together?
instructions:
- text: List role mappings for user {user} in realm {realm}.
slots:
user: path.user-id
realm: path.realm
- text: Show every role assigned to user {user} in realm {realm}.
slots:
user: path.user-id
realm: path.realm
method: generated
generated: '2026-11-17'
- target: $.paths['/admin/realms/{realm}/users/{user-id}/role-mappings/realm'].get
update:
x-apievangelist-phrasing:
intent: Get realm roles for a user
effect: read
questions:
- What roles does a user have at the realm level?
- Can I get a user's realm-level roles?
instructions:
- text: Get realm-level roles for user {user} in realm {realm}.
slots:
user: path.user-id
realm: path.realm
- text: List roles assigned to user {user}.
slots:
user: path.user-id
method: generated
generated: '2026-11-17'
- target: $.paths['/admin/realms/{realm}/users/{user-id}/role-mappings/realm'].post
update:
x-apievangelist-phrasing:
intent: Add realm roles to a user
effect: write
questions:
- How do I give a user a realm role?
- Can I map several realm roles to a user at once?
instructions:
- text: Add realm-level roles to user {user} in realm {realm}.
slots:
user: path.user-id
realm: path.realm
- text: Grant user {user} these realm roles in realm {realm}.
slots:
user: path.user-id
realm: path.realm
method: generated
generated: '2026-11-17'
- target: $.paths['/admin/realms/{realm}/users/{user-id}/role-mappings/realm'].delete
update:
x-apievangelist-phrasing:
intent: Remove realm roles from a user
effect: destructive
questions:
- How do I take a realm role away from a user?
- Can I revoke several realm roles from a user in one call?
instructions:
- text: Remove realm-level roles from user {user} in realm {realm}.
slots:
user: path.user-id
realm: path.realm
- text: Revoke user {user}'s realm roles in realm {realm}.
slots:
user: path.user-id
realm: path.realm
method: generated
generated: '2026-11-17'
- target: $.paths['/admin/realms/{realm}/users/{user-id}/role-mappings/realm/available'].get
update:
x-apievangelist-phrasing:
intent: List realm roles available to a user
effect: read
questions:
- Which realm roles can I map to a user?
- What roles are still free to assign to a user?
instructions:
- text: List realm roles available to user {user} in realm {realm}.
slots:
user: path.user-id
realm: path.realm
- text: Show unassigned realm roles I could give user {user} in realm {realm}.
slots:
user: path.user-id
realm: path.realm
method: generated
generated: '2026-11-17'
- target: $.paths['/admin/realms/{realm}/users/{user-id}/role-mappings/realm/composite'].get
update:
x-apievangelist-phrasing:
intent: Get effective realm roles for a user
effect: read
questions:
- Taking a user's composite roles into account, what roles does the user hold?
- Which roles does a user get through roles they are assigned to?
instructions:
- text: Get effective realm roles for user {user} in realm {realm}.
slots:
user: path.user-id
realm: path.realm
- text: Show inherited roles of user {user}, composing composite roles.
slots:
user: path.user-id
method: generated
generated: '2026-11-17'
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-role-mapper-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.