Skip to main content
POST
/
channels
/
{channel_id}
/
messages
/
bulk-delete
Bulk delete messages
curl --request POST \
  --url https://api.fluxer.app/v1/channels/{channel_id}/messages/bulk-delete \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message_ids": [
    "<string>"
  ]
}
'
{
  "code": "ACCESS_DENIED",
  "message": "<string>",
  "errors": [
    {
      "path": "<string>",
      "message": "<string>",
      "code": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.

Path Parameters

channel_id
string<snowflake>
required

The ID of the channel

Body

application/json
message_ids
string<snowflake>[]
required

Array of message IDs to delete

Response

No Content