Delete an email design
Hard-deletes every version of the design. Idempotent — a miss resolves with deleted: false plus a reason instead of a 404: already_deleted (this id was hard-deleted earlier; deletedAt carries when) or not_found (no such design on this brand, including cross-brand ids). An already_deleted response means the design is gone — do not retry.
Authorizations
Send your Brew API key as Authorization: Bearer brew_xxx.
Headers
The brand this request acts on. REQUIRED for organization-scoped credentials (otherwise 400 BRAND_ID_REQUIRED — there is no default brand); list ids with GET /v1/brands. Brand-scoped credentials may omit it, and sending a different brand returns 403 BRAND_SCOPE_MISMATCH. A brand outside your organization returns 404 BRAND_NOT_FOUND.
1 - 64Path Parameters
Design id returned by POST /v1/emails and listed by GET /v1/emails.
1 - 64"eml_2SmZOWV3ZQ7W5x6g3m4p"
Response
Deleted (or already gone — see reason).
1Present when deleted is false: already_deleted means this design was hard-deleted earlier (see deletedAt) — it is gone, do not retry; not_found means no design with this id exists on this brand.
already_deleted, not_found ISO timestamp of the earlier hard-delete (present with reason: "already_deleted").