> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-vector.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Topic

> This endpoint deletes an existing topic from QStash.

## Request

<ParamField path="topic" required>
  The id or name of the topic
</ParamField>

<RequestExample>
  ```shell curl
  curl -X DELETE https://qstash.upstash.io/v1/topics/:topicId \
    -H "Authorization: Bearer <token>" \
  ```
</RequestExample>

<ResponseExample>
  ```json 200
  { "status": "ok" }
  ```
</ResponseExample>
