Skip to content

Moves an email to the trash folder or deletes it, if it is already in the trash.​

DELETE
/api/mailboxes/mails/{mailId}

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters​

Path Parameters

mailId*
Typeinteger
Required
Minimum1

Responses​

Success

Playground​

Authorization
Variables
Key
Value

Samples​

cURL
JavaScript
PHP
Python