Actions17
- Channel Actions
- Message Actions
- Member Actions
Message → Delete
AI-generatedSummary
Delete a specific message in a Discord channel within a selected server using Bot Token or OAuth2 authentication.
Inputs
- Connection Type (required) — Choose the authentication method ('Bot Token' or 'OAuth2') to authorize the request.
- Server (required) — Select the Discord server (guild) by name, URL, or ID where the channel and message exist.
- Channel (required) — Select the channel by name, URL, or ID in which the message to delete resides.
- Message ID (required) — Specify the ID of the message that you want to delete.
Output shape
no body — success/failure only
The operation performs the deletion via Discord API and does not return body content, only HTTP status or error information indicating success or failure.
Examples
Example 1: Remove a message from a text channel in a specific server.
Authenticate using a Bot Token or OAuth2, select the server, specify the channel containing the message, and provide the exact message ID to delete.