---
title: "Unpublish or cancel a marketing email"
method: POST
path: "/marketing/emails/2026-03/{emailId}/unpublish"
tags: ["Emails"]
---

# Unpublish or cancel a marketing email

`POST /marketing/emails/2026-03/{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.

## Path parameters

- `emailId` string, required

## Response `204`

No content

## Other responses

- `default` — An error occurred.

---

[API](https://skmtc.net/hubspot/apis/hubspot-api-specification.md) · [All operations](https://skmtc.net/hubspot/apis/hubspot-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hubspot/hubspot-api-specification/revisions/f9c7181056c5/schema)
