Cancel a scheduled email
Stop a scheduled email before its send time. Nothing is sent or charged.
POST
/v1/emails/messages/{messageId}/cancelAuthorization
Bearer token
- Authorizationrequiredheader
Send your API key as
Bearer YOUR_API_KEY.
Path parameters
messageIdrequiredstringThe
messageIdreturned when you scheduled the send.
Response
application/json200 OK
Every scheduled delivery of the message becomes canceled, and email.canceled fires for each one.
Cancelling an email that is already canceled returns the same result, so retrying is safe. Recipients that were suppressed when you scheduled the send keep the suppressed status.