channels_delete_permissions
channels_delete_permissions
Section titled “channels_delete_permissions”Category: channels
Remove a permission overwrite from a channel.
When to use
Section titled “When to use”- Revert a channel back to inheriting role/category defaults.
When NOT to use
Section titled “When NOT to use”- Changing allow/deny bits → use
channels_modify_permissions.
| Field | Type | Required | Description |
|---|---|---|---|
channel_id | string | yes | Channel whose overwrite is being removed |
overwrite_id | string | yes | Role ID or user ID whose overwrite to remove |
audit_reason | string | no | Reason recorded in audit log (X-Audit-Log-Reason header) |
Returns
Section titled “Returns”\{deleted, channel_id, overwrite_id\}. Removing an overwrite that does not exist is treated as success by Discord.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
deleted | boolean | yes | |
channel_id | string | yes | Discord channel ID (snowflake) |
overwrite_id | string | yes |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | no |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |