delete-role-by-id
Delete a Keycloak role by its ID. Provide the realm and roleId for permanent removal.
Instructions
Delete 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>",
"roleId": "<roleId>"
},
"name": "delete-role-by-id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| roleId | Yes | Role ID |