Delete a draft
DELETE/api/accounts/:accountId/drafts/:uid
Discards a draft. It is removed from the Drafts folder the same way as deleting a message: marked \Seen and moved to Trash, or expunged for good when the account has no Trash folder.
Returns 404 when the account has no Drafts folder.
Request
Responses
- 204
- 401
- 404
- 424
Deleted.
The session has no mailbox access token. code is mail_token_missing; sign in again.
Request failed.
The IMAP, SMTP or Sieve server, or the platform, refused the request or could not be reached.