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*
Typestring
Required
Pattern"[1-9][0-9]*"

Responses

Success

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python