Skip to main content
discord.deleteChannelPermission removes one role or member permission overwrite.
automations/discord-delete-channel-permission.automation.ts

Inputs

Required channelId and overwriteId; the overwrite ID is the affected role or user ID. Optional reason populates the server audit log. Optional second argument { account } selects the Discord binding.

Output

Returns nothing after Discord deletes the overwrite.

Discord behavior

Requires MANAGE_ROLES. Deleting the overwrite restores inherited channel permissions.