delete_role_by_id
Deletes a Keycloak role by role ID within a specified realm, enabling administrators to remove obsolete or incorrect roles.
Instructions
Delete a role by ID.
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>",
"role_id": "<role_id>"
},
"name": "delete_role_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| role_id | Yes | Role ID |