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.
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. |