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
Name | Value Type | Validation | Details |
---|---|---|---|
msgID | int | Required | Message ID. |
Validation
Error Field | Error Code | Error Message |
---|---|---|
msgID | 101 | The message does not exist, or there are no permissions. |
Output example
{"result": true}