Skip to main content

Delete a message

DELETE 

/api/accounts/:accountId/folders/:folder/messages/:uid

Deletes one message the way a mail client's Delete button does: it is marked \Seen and moved to the Trash folder, where it can still be recovered.

If the message is already in Trash or in Spam, or the account has no Trash folder, it is flagged \Deleted and expunged instead, which removes it for good.

Request​

Responses​

Deleted.