curl --request DELETE \
--url https://apix.us.amity.co/api/v5/messages/{messageId} \
--header 'Authorization: Bearer <token>'
Delete a message
curl --request DELETE \
--url https://apix.us.amity.co/api/v5/messages/{messageId} \
--header 'Authorization: Bearer <token>'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of a message
30
"a85dca058f5b585f86a29f14"
flag to confirm permanent deletion
Successful operation