Removes a specific attachment from a message while keeping the message intact. Only the message author can remove attachments (or admins/moderators). Returns 204 No Content on success.
curl --request DELETE \
--url https://api.fluxer.app/v1/channels/{channel_id}/messages/{message_id}/attachments/{attachment_id} \
--header 'Authorization: <api-key>'{
"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
The ID of the message
The attachment id
No Content
curl --request DELETE \
--url https://api.fluxer.app/v1/channels/{channel_id}/messages/{message_id}/attachments/{attachment_id} \
--header 'Authorization: <api-key>'{
"code": "ACCESS_DENIED",
"message": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}