curl -X DELETE https://qstash.upstash.io/v1/messages/:messageId \
-H "Authorization: Bearer <token>"
{ "status": "accepted" }
Messages
Cancel Message
This endpoint cancels a message.
DELETE
/
v1
/
messages
/
{messageId}
curl -X DELETE https://qstash.upstash.io/v1/messages/:messageId \
-H "Authorization: Bearer <token>"
{ "status": "accepted" }
We will no longer try to deliver this message to any endpoints. All scheduled
executions of this message will be canceled as well.
Request
string
required
The unique id of the message.
curl -X DELETE https://qstash.upstash.io/v1/messages/:messageId \
-H "Authorization: Bearer <token>"
{ "status": "accepted" }
Was this page helpful?