delete_role
Deletes an existing role by its ID. Remove the role from any assigned users first, because roles still assigned cannot be deleted.
Instructions
Delete existing role by id [DELETE /v1/roles/{roleId}] You can't delete a role if it is still assigned to a user. In such cases please remove the role from the users.
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": {
"roleId": "<roleId>"
},
"name": "delete_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roleId | Yes | The identifier of the role | |
| x-trace-id | No | Identifier to trace group of requests. |