This will only apply to newly created messages. All messages published before
this endpoint was updated will still use the old url.
Request
Request Parameters
The new url of the endpoint
Response
The id of the topic this endpoint subscribes to.Either topicId or topicName must be set
The name of the topic this endpoint subscribes to.Either topicId or topicName must be set
The url where all requests will be sent to.
curl -X PUT https://qstash.upstash.io/v1/endpoints/:endpointId \
-H "Authorization: Bearer <token>" \
-d { "url" : "https://www.google.com" }
{
"endpointId": "ept_6j7BNZus3ZyPy6P7QtLUMCC3Rq7h",
"url": "https://www.google.com",
"topicId": "tpc_7EfEryZiheEKzpMuvjYdhhhbNNJA"
}