---
title: "Purge all failed tasks"
method: DELETE
path: "/api/queue/{project_id}/dlq"
tags: ["Queue"]
---

# Purge all failed tasks

`DELETE /api/queue/{project_id}/dlq`

## Request

- Base URL: `https://core.blink.new`
- URL: `https://core.blink.new/api/queue/{project_id}/dlq`
- Auth: HTTP bearer

Deletes all `dead` tasks for this project from both Turso and the task queue.

## Path parameters

- `project_id` string, required

## Response `200`

DLQ purged

- object
  - `purged` boolean
  - `count` integer

## Other responses

- `401`: Authentication required or invalid API key

---

[API](https://skmtc.dev/blink/apis/blink-apis.md) - [All operations](https://skmtc.dev/blink/apis/blink-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/blink/apis/blink-apis/revisions/4c59c706078e?raw)
