---
title: "Remove a label from a topic"
method: DELETE
path: "/v2/topics/{topicId}/labels/{labelId}"
tags: ["Topics (group chats/channels/conversations)"]
---

# Remove a label from a topic

`DELETE /v2/topics/{topicId}/labels/{labelId}`

## Request

- Base URL: `https://api.zenzap.co`
- URL: `https://api.zenzap.co/v2/topics/{topicId}/labels/{labelId}`
- Auth: one of:
  - HTTP bearer and API key in header `X-Signature`
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.zenzap.co/oauth/token` scopes: `channel:write`
- TypeScript: <https://skmtc.dev/zenzap/apis/zenzap-external-integration-api/docs/v2/topics/:topicId/labels/:labelId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Remove a label from an existing topic.

**Authorization:** Your API key bot must be a member of the topic (returns 404 if not).

**Behavior:** Idempotent — removing a label not present on the topic returns the current state.

## Path parameters

- `topicId` string, uuid, required
- `labelId` string, uuid, required

## Headers

- `X-Signature` string
- `X-Timestamp` integer

## Response `200`

Label removed successfully

- TopicLabelUpdateResponse
  - `id` string, uuid: The topic ID
  - `labels` string[]: Updated array of label IDs on the topic
  - `updatedAt` integer: Unix timestamp in milliseconds when the topic was updated

## Other responses

- `400`: Bad request - invalid input
- `401`: Unauthorized - invalid or missing API token
- `404`: Resource not found
- `500`: Internal server error

---

[API](https://skmtc.dev/zenzap/apis/zenzap-external-integration-api.md) - [All operations](https://skmtc.dev/zenzap/apis/zenzap-external-integration-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zenzap/apis/zenzap-external-integration-api/revisions/37faae2c2036?raw)
