---
title: "Delete a DLQ message"
method: DELETE
path: "/v2/dlq/{dlqId}"
tags: ["DLQ"]
---

# Delete a DLQ message

`DELETE /v2/dlq/{dlqId}`

## Request

- Base URL: `https://qstash-eu-central-1.upstash.io`
- URL: `https://qstash-eu-central-1.upstash.io/v2/dlq/{dlqId}`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `qstash_token`
- TypeScript: <https://skmtc.dev/upstash/apis/qstash-rest-api/docs/v2/dlq/:dlqId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Manually remove a message from the DLQ

## Path parameters

- `dlqId` string, required

## Response `200`

Message deleted successfully

## Other responses

- `404`: If the message is not found in the DLQ, (either is has been removed by you, or automatically), the endpoint returns a 404 status code.

---

[API](https://skmtc.dev/upstash/apis/qstash-rest-api.md) - [All operations](https://skmtc.dev/upstash/apis/qstash-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upstash/apis/qstash-rest-api/revisions/0c3b83ef4770?raw)
