Channels
Messages

Bulk delete my messages in channel

Deletes every message the caller has authored in the specified channel. Requires sudo mode verification. Returns 202 Accepted once matching messages have been removed.

post/channels/{channel_id}/messages/bulk-delete-mine

Path parameters

string snowflake required
OR
integer required

The ID of the channel

Request body

passwordstring
mfa_method'totp' | 'webauthn'

MFA method to use for verification

mfa_codestring

MFA verification code from an authenticator app

webauthn_challengestring

WebAuthn challenge string

Response

Success

Changes