Skip to navigation
ActivitiesEmails

Delete an Email activity

View as Markdown

Delete an email activity. Returns an empty object on success. This only removes the email from Close: it doesn’t recall an email that was already sent. If the email is still in outbox or scheduled, it won’t be sent.

You can always delete your own drafts. Deleting your own other emails requires the delete_own_activities permission, and deleting other users’ emails requires manage_others_activities. Without it, the request returns 400. It also returns 400 if the email is being sent at that moment, so retry it later.

Authentication

AuthorizationBasic
Use your API key as the username and leave the password empty.
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired

ID of the email activity, prefixed with acti_.

Response

Successful response

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error