Reset channel permissions
discord_
Destructive
- Toolset
- Permissions
permissions - Discord permissions
- Manage Channels and Manage Roles
- Context cost
- 206 tokens, estimated822 bytes of definition, divided by 4
Remove ALL permission overwrites on a channel, so only role/server-level permissions apply. Does NOT re-sync with the category; use discord_ for that. IRREVERSIBLE: the cleared overwrites cannot be recovered. Requires the Manage Channels and Manage Roles permissions.
Risk and annotations
Read-onlyreadOnlyHint | no | Can modify your server. |
|---|---|---|
DestructivedestructiveHint | yes | May perform destructive updates, so clients can ask before running it. |
IdempotentidempotentHint | yes | Repeating the call with the same arguments has no additional effect. |
Open worldopenWorldHint | yes | Interacts with an external system: Discord. |
Annotations are hints the server declares. Clients use them to decide when to ask you before a call.
Parameters
| Parameter | Type | Rules | Description |
|---|---|---|---|
| channel_ | string | pattern ^\d{17,20}$ | ID (snowflake) of the channel whose overwrites will be cleared. |
| reasonoptional | string | none | Optional reason recorded in the server audit log. |
Output
This tool declares no output schema. Its description says what it returns; this page shows no example rather than invent one.
Related tools
Named in its description
Also in Permissions
-
Get channel permissions, Read-only
discord_get_ channel_ permissions -
Set role channel permission, Write
discord_set_ role_ permission -
Set member channel permission, Write
discord_set_ member_ permission -
Copy channel permissions, Destructive
discord_copy_ permissions -
Audit permissions, Read-only
discord_audit_ permissions
Raw definition (822 bytes)
{
"name": "discord_reset_channel_permissions",
"description": "Remove ALL permission overwrites on a channel, so only role/server-level permissions apply. Does NOT re-sync with the category; use discord_lock_channel_permissions for that. IRREVERSIBLE: the cleared overwrites cannot be recovered. Requires the Manage Channels and Manage Roles permissions.",
"inputSchema": {
"type": "object",
"properties": {
"channel_id": {
"type": "string",
"pattern": "^\\d{17,20}$",
"description": "ID (snowflake) of the channel whose overwrites will be cleared."
},
"reason": {
"description": "Optional reason recorded in the server audit log.",
"type": "string"
}
},
"required": [
"channel_id"
],
"additionalProperties": false
},
"annotations": {
"title": "Reset channel permissions",
"readOnlyHint": false,
"destructiveHint": true,
"idempotentHint": true,
"openWorldHint": true
}
}