DELETE
/
v2
/
topics
/
{topicName}
curl -XDELETE https://qstash.upstash.io/v2/topics/my-topic \
  -H "Authorization: Bearer <token>"

The topic and all its endpoints are removed. In flight messages in the topic are not removed but you will not be able to send messages to the topic anymore.

Request

topicName
string
required

The name of the topic to remove.

Response

This endpoint returns 200 if the topic is removed successfully.