Serverless
Apps

Flush Application 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
delete/serverless/apps/{owner}/{name}/queue

Path parameters

ownerstring required

Username of the app owner

Example:user_123

Username of the app owner

namestring required

Application name

Example:my-app

Application name

Headers

Idempotency-Keystring

Optional idempotency key for safe request retries

Example:550e8400-e29b-41d4-a716-446655440000

Optional idempotency key for safe request retries

Response

Queue flushed successfully

Changes

No recorded changes to this endpoint across all 2 revisions of this API.