Skip to main content
DELETE
/
v2
/
dlq
curl -XDELETE https://qstash.upstash.io/v2/dlq \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
     "dlqIds": ["11111-0", "22222-0", "33333-0"]
    }'
{
  "deleted": 3
}

Documentation Index

Fetch the complete documentation index at: https://upstash-fix-issues-on-docs.mintlify.app/llms.txt

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

Delete multiple messages from the DLQ.
You can get the dlqId from the list DLQs endpoint.

Request

dlqIds
string[]
required
The list of DLQ message IDs to remove.

Response

A deleted object with the number of deleted messages.
{
  "deleted": number
}
{
  "deleted": 3
}
curl -XDELETE https://qstash.upstash.io/v2/dlq \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
     "dlqIds": ["11111-0", "22222-0", "33333-0"]
    }'