Skip to main content
DELETE
/
v1
/
threads
/
{thread_id}
/
messages
/
{message_id}
Delete a message
curl --request DELETE \
  --url https://api.zerobot.ai/v1/threads/{thread_id}/messages/{message_id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

thread_id
string
required

The ID of the thread to which this message belongs.

message_id
string
required

The ID of the message to delete.

Response

200 - application/json

Successful response

status
enum<string>

The deletion status.

Available options:
success