---
title: "Update label and description of a topic."
method: PUT
path: "/topics/{topicId}"
tags: ["Topics"]
---

# Update label and description of a topic.

`PUT /topics/{topicId}`

## Request

- Base URL: `https://api.maildroppa.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maildroppa.com/topics/{topicId}`
- Auth: API key in header `X-API-Key`

## Path parameters

- `topicId` string, uuid, required

## Request body

- TopicUpdate: Label and description of an active topic.
  - `label` string: Label shown to readers.
  - `description` string: Optional description shown to readers.

## Response `200`

Topic updated.

- Topic: Subscription topic that readers can subscribe to and unsubscribe from individually.
  - `id` string, uuid
  - `label` string: Label shown to readers on forms and the preference page.
  - `description` string: Optional description shown to readers.
  - `position` integer: Catalog position; gaps are allowed.
  - `status` 'ACTIVE' | 'ARCHIVED'
  - `archivedAtUtc` string, date-time
  - `defaultTopic` boolean: Whether this is the tenant default topic.
  - `subscribedCount` integer: Subscribers currently subscribed to the topic.
  - `optedOutCount` integer: Subscribers who opted out of the topic themselves.
  - `enrollmentRunning` boolean: Whether existing subscribers are currently being enrolled into the topic.
  - `enrollment` TopicEnrollmentDto
    - `status` 'RUNNING' | 'COMPLETED' | 'FAILED'
    - `startedAtUtc` string, date-time
    - `addedSubscriberCount` integer

## Other responses

- `400`: Invalid topic label or archived topic.
- `401`: Not Authorized
- `403`: Not Allowed
- `404`: Topic not found in this account.
- `409`: Subscriber bulk operation prevents catalog changes.
- `428`: Accept the customer agreements in the app before using API keys.

---

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