Unpublish or cancel a marketing email.

POST {{baseUrl}}/marketing/v3/emails/:emailId/unpublish

If you have a Marketing Hub Enterprise account or the transactional email add-on, you can use this endpoint to unpublish an automated email or cancel a regular email. If the email is already in the process of being sent, canceling might not be possible.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring