Delete an access rule
delete_access_ruleDeletes a rule; the people it reached lose that access unless a role, another rule or a grant gives it. Mirrors deleting a rule on Settings › Roles & access; needs Owner or Admin. 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": {
"ruleId": "<ruleId>",
"confirm": "<confirm>"
},
"name": "delete_access_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleId | Yes | The rule's id, as list_access_rules returns it. | |
| confirm | Yes | True only once the person has agreed to the deletion. |