Deletes multiple messages at once. Requires moderation or admin permissions. Commonly used for message cleanup. Messages from different authors can be deleted together. Returns 204 No Content on success.
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>"
}
]
}Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
The ID of the channel
Array of message IDs to delete
No Content
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>"
}
]
}