Skip to main content

Delete a folder

DELETE 

/api/accounts/:accountId/folders/:folder

Permanently deletes the folder and the messages in it with IMAP DELETE; nothing is moved to Trash.

The server does not check capabilities, so deleting special folders is left to the IMAP server. A refusal, or a folder that does not exist, returns 424.

Request​

Responses​

Deleted.