Skip to main content
DELETE
/
api
/
v1
/
messages
/
{id}
Delete (retract) a message
curl --request DELETE \
  --url https://api.example.com/api/v1/messages/{id} \
  --header 'Authorization: Bearer <token>'
{
  "deleted": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Query Parameters

channel
string
required

Channel (agent) ID

Response

Message deleted

deleted
boolean
required
Example:

true