channels_delete_permissions
Remove a permission overwrite from a channel to revert it to inheriting role or category defaults. Use when clearing a channel-specific 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.
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 | |||