---
title: "Flush Application Queue"
method: DELETE
path: "/serverless/apps/{owner}/{name}/queue"
tags: ["Serverless", "Apps"]
---

# Flush Application Queue

`DELETE /serverless/apps/{owner}/{name}/queue`

Flushes all pending requests from an application's queue.

**Authentication:** Required via API key

**Idempotency:**
- Optional `Idempotency-Key` header prevents duplicate flushes on retries
- Responses cached for 10 minutes per unique key

**Use Cases:**
- Clear stuck or outdated requests from the queue
- Reset queue state during development or testing
- Cancel all pending requests for an application

**Important:**
- This operation is irreversible
- All pending requests in the queue will be cancelled
- Requests already being processed will not be affected

## Path parameters

- `owner` string, required — Username of the app owner
- `name` string, required — Application name

## Headers

- `Idempotency-Key` string — Optional idempotency key for safe request retries

## Response `204`

Queue flushed successfully

## Other responses

- `400` — Invalid request parameters
- `401` — Authentication required
- `403` — Access denied
- `404` — Resource not found
- `429` — Rate limit exceeded
- `500` — Internal server error

---

[API](https://skmtc.dev/fal/apis/platform-apis.md) · [All operations](https://skmtc.dev/fal/apis/platform-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fal/platform-apis/revisions/0c7dabf80b00/schema)
