curl --request DELETE \
--url https://api.botpress.cloud/v1/chat/messages/{id} \
--header 'Authorization: Bearer <token>' \
--header 'x-bot-id: <x-bot-id>'{}Permanently deletes a Message. It cannot be undone.
curl --request DELETE \
--url https://api.botpress.cloud/v1/chat/messages/{id} \
--header 'Authorization: Bearer <token>' \
--header 'x-bot-id: <x-bot-id>'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bot id
Integration id
Integration alias
Message id
Returns the Message object that was deleted
The response is of type deleteMessageResponse · object.
Was this page helpful?