DeleteMessages
DeleteMessages deletes the specified message(s) from
the email account. Can supply a list of flags to selectively delete
messages.
Available to both premium and non-premium users.
Parameters
| Name | Description |
|---|---|
| fid | Folder ID. Name and ID of the folder. |
| mid | Message ID. Repeatable. |
| selection | Flag for deleting messages that have the selection flag set. All messages will be deleted if an empty Flag object is passed and no mid is present in the request. |
Returns
| Name | Description |
|---|---|
| error | ErrorCode. Repeatable |

