DELETE
/
api
/
v3
/
messages
/
{messageId}
delete a message
curl --request DELETE \
  --url https://apix.us.amity.co/api/v3/messages/{messageId} \
  --header 'Authorization: Bearer <token>'
{
  "status": "<string>",
  "data": {
    "success": true,
    "message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

messageId
string
required
Maximum length: 150

Response

200
application/json

OK

The response is of type object.