Discord

Sends data to Discord

Channel → Delete

AI-generated

Summary

Delete a specified Discord channel within a selected server (guild) using either a Bot Token or OAuth2 authentication.

Inputs

  • authentication (required) — Choose the type of authentication to access the Discord API; options include Bot Token or OAuth2 (Webhook authentication is not supported for this operation).
  • guildId (required) — Select the Discord server (guild) where the channel to be deleted exists. You can specify it by name, URL, or ID.
  • channelId (required) — Identify the channel to delete by name, URL, or ID within the selected guild.

Output shape

a JSON object containing the response from the Discord API, typically including the details of the deleted channel or an error message.

Requires either Bot Token or OAuth2 authentication; Webhook authentication is not supported for this operation. The operation deletes the channel permanently if the credentials and inputs are valid. No pagination is involved.

Examples

Example 1: Deleting a specific text channel on a Discord server using Bot Token authentication.

Set 'authentication' to 'Bot Token', select the target server via 'guildId', specify the channel to delete via 'channelId'. Upon execution, the node will send a DELETE request to remove that channel.

Links

Discussion