Messages
Cancel a Message
Cancel a pending message
DELETE/v2/messages/{messageId}
cURL
curl --request DELETE \
--url https://qstash-{region}.upstash.io/v2/messages/{messageId} \
--header 'Authorization: Bearer <token>'Authorization
Authorizationheaderstringrequired
Bearer authentication header of the form Bearer <token>.
Path parameters
messageIdpathstringrequired
The identifier of the message to cancel.
Response
200 — Message canceled successfully
404 — Message not found
errorstringrequired
Error message