Skip to main content
DELETE
/
v2
/
messages
/
{messageId}
Cancel a Message
curl --request DELETE \
  --url https://qstash.upstash.io/v2/messages/{messageId} \
  --header 'Authorization: Bearer <token>'
{
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

QStash authentication token

Path Parameters

messageId
string
required

The identifier of the message to cancel.

Response

Message canceled successfully