channels_delete_permissions
Remove a permission overwrite from a channel to revert it to inheriting role or category defaults. Clears a specific role or user override.
Instructions
Purpose: Remove a permission overwrite from a channel.
When to use:
Revert a channel back to inheriting role/category defaults.
When NOT to use:
Changing allow/deny bits → use
channels_modify_permissions.
Returns: {deleted, channel_id, overwrite_id}. Removing an overwrite that does not exist is treated as success by Discord.
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": {
"channel_id": "<channel_id>",
"overwrite_id": "<overwrite_id>"
},
"name": "channels_delete_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | Channel whose overwrite is being removed | |
| audit_reason | No | Reason recorded in audit log (X-Audit-Log-Reason header) | |
| overwrite_id | Yes | Role ID or user ID whose overwrite to remove |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||