DELETE
/
api
/
v5
/
messages
/
{messageId}
Delete a message
curl --request DELETE \
  --url https://apix.us.amity.co/api/v5/messages/{messageId} \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

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

Path Parameters

messageId
string
required

ID of a message

Maximum length: 30
Example:

"a85dca058f5b585f86a29f14"

Query Parameters

permanent
boolean
default:false

flag to confirm permanent deletion

Response

200

Successful operation