cURL
curl --request DELETE \ --url https://api.zerobot.ai/v1/threads/{thread_id}/messages/{message_id} \ --header 'Authorization: Bearer <token>'
{ "status": "success" }
Deletes a message.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the thread to which this message belongs.
The ID of the message to delete.
Successful response
The deletion status.
success