curl -X PUT https://qstash.upstash.io/v1/topics/:topicId\ -H "Authorization: Bearer <token>" \ -d '{ "name": "test2" }'
{ "topicId": "tpc_7EfEryZiheEKzpMuvjYdhhhbNNJB", "name": "test2", "endpoints": [ { "endpointId": "ept_6j7BNZus3ZyPy6P7QtLUMCC3Rq7h", "url": "https://www.upstash.com", "topicId": "tpc_7EfEryZiheEKzpMuvjYdhhhbNNJA" } ] }
This endpoint updates the existing topic with the specified ID.
Show Endpoint
Was this page helpful?