Grant or deny a system operation
set-admin-operation-granteeGrant or deny a system operation to specified users or roles; repeating the same operation and grantee updates the existing permission instead of adding another.
Instructions
Allow or deny a system operation for users/roles. Repeating it for the same operation and user/role updates the existing grant instead of adding another. See get-guide: admin-operation-guide.
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": {
"adminOperationId": "<adminOperationId>",
"adminUnitIds": "<adminUnitIds>",
"canExecute": "<canExecute>"
},
"name": "set-admin-operation-grantee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| canExecute | Yes | true grants (allow), false denies. | |
| adminUnitIds | Yes | Users or roles to grant/deny — SysAdminUnit ids (read SysAdminUnit by Name), not contact ids. | |
| adminOperationId | Yes | Id of the system operation (read SysAdminOperation by Code). |