Delete an access group
delete_access_groupDeletes a group. Mirrors deleting a group on Settings › Roles & access; needs Owner or Admin. Everyone cannot be deleted, and neither can a group a rule still names: change or delete those rules first. Destructive: call without confirm first, put the sentence it answers to the person, and pass confirm: true only if they agree.
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": {
"groupId": "<groupId>",
"confirm": "<confirm>"
},
"name": "delete_access_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | True only once the person has agreed to the deletion. | |
| groupId | Yes | The group's id, as list_access_groups returns it. |