---
title: "Delete topic"
method: DELETE
path: "/preference-center/api/v1/topics/{id}"
tags: ["Topics"]
---

# Delete topic

`DELETE /preference-center/api/v1/topics/{id}`

Deletes a preference center topic (e.g. a SMART campaign topic no longer in use). Returns the deleted topic on success.

## Path parameters

- `id` string, uuid, required

## Response `200`

Topic deleted successfully. Returns the deleted topic.

- Topic — A preference center topic. For SMART campaigns, hideFromUi is true so the topic is not shown in the preference center UI.
  - `id` string, uuid — Unique identifier of the topic (set by server on create)
  - `name` string — Display name of the topic
  - `description` string — Description of the topic
  - `parentId` string, uuid, nullable — Parent topic ID for hierarchical topics
  - `order` integer — Display order in the preference center
  - `brandGroupId` string, uuid — Brand group this topic belongs to
  - `createdAt` string, date-time, nullable — Set by server
  - `createdBy` string, nullable — Set by server from auth context
  - `updatedAt` string, date-time, nullable — Set by server
  - `updatedBy` string, nullable — Set by server from auth context
  - `hideFromUi` boolean, nullable — When true, topic is hidden from the preference center UI (e.g. SMART campaign topics). Cannot be changed after creation.

## Other responses

- `401` — Authentication required or invalid
- `404` — Resource not found (brand, player, mission, leaderboard, etc.).
- `500` — Internal server error

---

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