Roles: update
roles_updateUpdate a role's name, description, or API access without changing its permissions. Enable API access to fix users getting 403 errors on data calls.
Instructions
Change a role's name, description or API access. Changes a role's name, description or API access, keeping its permissions and active state; only what you pass changes. Turn api_access on for a role whose users get 403 on data calls: without it the role's entity permissions never apply. 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": {
"id": "<id>"
},
"name": "roles_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Role ID. Find it with roles_list. | |
| name | No | New role name | |
| api_access | No | Let the role's users reach data through the API (true/false) | |
| description | No | New description |