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>"
}

Documentation Index

Fetch the complete documentation index at: https://upstash.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

QStash authentication token

Path Parameters

messageId
string
required

The identifier of the message to cancel.

Response

Message canceled successfully