DELETE ./mesaje/mesaj

Used to delete a message.

There are 3 variants of this api call:

  • if the message is a draft then it is deleted
  • if the message is not trashed than it is marked as trashed for the calling user
  • if the message is marked trashed then the message will be deleted for the calling user

DELETE parameters

NameValue TypeValidationDetails
msgIDintRequiredMessage ID.

Validation

Error FieldError CodeError Message
msgID101The message does not exist, or there are no permissions.

Output example

{
"result": true
}