Discord icon

Discord

Interact with Discord API - users, messages, webhooks, guilds, interactions, and more

Actions193

Channel → Bulk Delete Messages

AI-generated

Summary

Deletes multiple messages from a Discord channel in one bulk-delete request. Provide the channel ID and a JSON array of message IDs; Discord rejects messages older than two weeks.

Inputs

  • Authentication (required) — Choose Bot Token (the default) or OAuth2 (User Token).
  • Channel (required) — Discord channel snowflake ID.
  • Message IDs (required) — JSON array of 2 to 100 message snowflake IDs to delete. Discord rejects messages older than two weeks.
  • Audit Log Reason — Optional reason included in the guild audit log; Discord limits it to 512 characters.
  • Request Options — Optional request settings, including batching, SSL certificate validation, proxy, and timeout.

Output shape

Not determinable from the provided source pack.

The pack only shows a signature-level view for the relevant modules and does not expose the operation's request routing or response handling.

Links

Discussion