Easymailing
Email sequences

Delete an email sequence

DELETE /email_sequences/{uuid}

DELETE/email_sequences/{uuid}

Deletes a sequence for good: it disappears, its live enrollments end, the emails still queued are canceled and its content is purged in the background.

When to use: Only when the sequence must not exist any more, for example a test or a mistake.

When not to use: To keep it but stop it, use pause_email_sequence; to hide it without stopping the people in progress, archive_email_sequence. Deleting cannot be undone.

Side effects: In one step the sequence is marked deleted and every live enrollment ends as manually excluded (manual_exclusion), canceling its queued email; an email that is being sent at that very moment may still leave. Afterwards, in the background, the draft, versions, attachments (and their storage) and the addresses of the recipients in those enrollments are emptied; counts and dates are kept. Contacts are not touched. The answer comes before the purge finishes.

Permissions: Requires the automations.manage and contacts.read capabilities. The account must also have the CRM Pro plan. The token must reach account administration (an API key, or OAuth with the account or admin scope).

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

uuid*string

UUID of the email sequence. Get it from list_email_sequences.

Formatuuid

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X DELETE "https://api.easymailing.com/email_sequences/b3f1c8a2-5d47-4e90-9a16-7c2e0d4f8b35" \  -H "X-Auth-Token: YOUR_API_KEY"
Empty