update_role
Modify an existing role by ID, updating its name, admin flag, permissions, or resource access while preserving unchanged attributes.
Instructions
Update specific role by id [PUT /v1/roles/{roleId}] Update attributes to your role. Attributes are optional. If not set, the attributes will retain their original values.
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>",
"body": "<body>"
},
"name": "update_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | JSON request body | |
| roleId | Yes | The identifier of the role | |
| x-trace-id | No | Identifier to trace group of requests. |