Messages
Cancel Message
This endpoint cancels a message.
DELETE
/
v1
/
messages
/
{messageId}
Authorization
Path
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
messageId
string
requiredThe unique id of the message.
Was this page helpful?
curl -X DELETE https://qstash.upstash.io/v1/messages/:messageId \
-H "Authorization: Bearer <token>"
{ "status": "accepted" }