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