---
title: "Delete a topic"
method: DELETE
path: "/email/topics/{id}"
tags: ["Topics"]
---

# Delete a topic

`DELETE /email/topics/{id}`

## Request

- Base URL: `https://www.unitpost.com/api/v1`
- URL: `https://www.unitpost.com/api/v1/email/topics/{id}`
- Auth: HTTP bearer

Archive a topic (a soft delete — existing subscription records are preserved so you can restore it later). It's blocked with `409` while an active campaign still targets it. Restore an archived topic by sending `{ "archived": false }` to [Update a topic](#patch-email-topics-id). Requires the `topics:write` capability.

## Response `204`

Archived.

## Other responses

- `401`: Missing or invalid API key.
- `404`: Topic not found.
- `409`: Topic is referenced by an active campaign.

---

[API](https://skmtc.dev/unitpost/apis/unitpost-api.md) · [All operations](https://skmtc.dev/unitpost/apis/unitpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/unitpost/apis/unitpost-api/revisions/86ff7c890967?raw)
