Roles: permissions remove
roles_permissions_removeRevoke specified entity permissions from a role, removing access for every user who holds it while preserving other permissions. Check existing grants first before changing data.
Instructions
Remove entity permissions from a role. Takes one or more actions (default read) on one entity away from a role; every user holding the role loses them at once, and its other permissions are kept. Actions the role doesn't have are ignored. Use roles_permissions_list first to see what it grants. It changes or deletes existing data, so check with the user before running it.
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": {
"role_id": "<role_id>",
"entity": "<entity>"
},
"name": "roles_permissions_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Entity name | |
| actions | No | Comma-separated actions: read,create,update,delete (default: read) | |
| role_id | Yes | Role ID. Find it with roles_list. |