remove_organization_group_realm_role_mappings
Deletes realm-level role mappings from an organization group in Keycloak, removing assigned realm roles for the specified organization, group, and roles. Requires Keycloak 26.7+.
Instructions
Delete realm-level role mappings. Requires Keycloak 26.7+.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"realm": "<realm>",
"org_id": "<org_id>",
"group_id": "<group_id>",
"roles": "<roles>"
},
"name": "remove_organization_group_realm_role_mappings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| roles | Yes | List of role representations | |
| org_id | Yes | Organization ID | |
| group_id | Yes | Organization group ID |