Cancel a scheduled email
Cancel a still-queued send. Only a queued message is cancellable; a canceled send is never sent and never billed. Cancel is idempotent: an already-canceled message returns 200 again. Any other status returns 409. Requires the send scope. Takes no request body.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The message id (a bare 26-character ULID, no prefix).
Response
The canceled email detail.
object"email"required"email"idstringrequiredtype"transactional" | "marketing"requiredThe kind of mail, as the sender declares it. Omitting the field means transactional. A marketing send is subject to extra compliance rules — it accepts exactly one recipient across to/cc/bcc, the organization must have a postal address on file, and it draws on a separate monthly marketing allowance.
"transactional" | "marketing""transactional"toarray<string>requiredfromstringrequiredcreated_atstring<date-time>requiredsubjectstringhtmlstringtextstringccarray<string>requiredbccarray<string>requiredreply_toarray<string>requiredlast_eventstringrequiredThe message's latest state in status words (delivered, bounced, complained), not the event type names used by /events. Falls back to status.
scheduled_atstring<date-time>tagsarray<object>requiredtags.namestringrequiredTag name; must match [A-Za-z0-9_-]+.
tags.valuestringrequiredTag value; must match [A-Za-z0-9_-]+.
