Flush Application Queue
Flushes all pending requests from an application’s queue.
Authentication: Required via API key
Idempotency:
- Optional
Idempotency-Keyheader 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
Required permissions: serverless:queues:write. Key presets that include them: SERVERLESS, FULL. See key permissions.
DELETE
Flush Application Queue
Authorizations
Key on the SERVERLESS preset, or any key whose permissions include the ones this API lists. Prefix it with "Key ", e.g. Authorization: Key YOUR_API_KEY
Headers
Optional idempotency key for safe request retries
Example:
"550e8400-e29b-41d4-a716-446655440000"
Path Parameters
Username of the app owner
Example:
"user_123"
Application name
Example:
"my-app"
Response
Queue flushed successfully