Delete a role
colliedesk_role_deleteDelete a role nobody uses: no team member holds it, no pending invite gives it and no live agent token follows it (otherwise refused with what still uses it). Admin and Agent cannot go. Bring it back with colliedesk_role_restore.
Needs: team:manage_roles, team:read.
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": "<role>"
},
"name": "colliedesk_role_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | The role's name (any case) or id, from colliedesk_roles_list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | Yes | ||
| deleted | Yes | Name of the deleted role. |