POST emails/delete

Delete an existing email. Deleting a sent email will throw an error.

* required

Parameters

Name Type Description
emailID * integer Unique ID of email

Response Data

Method returns no data

Permissions

Method requires the Compose Mail permission

Example Calls

Delete an email

POST
/emails/delete
cURL
Copy
Response Data

API Console

The console uses production data, so BE CAREFUL!
POST
emails/delete
Request Body
{"emailID":0}
Access token: *