---
title: "Delete Failed Workflow Run"
method: DELETE
path: "/v2/workflows/dlq/{dlqId}"
tags: ["DLQ"]
---

# Delete Failed Workflow Run

`DELETE /v2/workflows/dlq/{dlqId}`

## Request

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

Delete a specific failed workflow run from the DLQ.

Use this endpoint to remove a workflow from the DLQ after you have addressed the issue
or determined that the workflow should not be retried.

## Path parameters

- `dlqId` string, required

## Response `200`

Workflow deleted successfully

## Other responses

- `400`: Bad Request - Invalid DLQ ID
- `401`: Unauthorized
- `404`: DLQ message not found
- `500`: Internal Server Error

---

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