curl --request POST \
--url https://api.hubapi.com/marketing/v3/emails/{emailId}/unpublish \
--header 'Authorization: Bearer <token>'This response has no body data.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.
curl --request POST \
--url https://api.hubapi.com/marketing/v3/emails/{emailId}/unpublish \
--header 'Authorization: Bearer <token>'This response has no body data.Was this page helpful?