Skip to main content

Bulk Kill Pending Jobs

POST 

/api/v2/queue-admin/jobs/kill-pending

Bulk-kill pending Horizon jobs. Two mutually-exclusive shapes are accepted:

  1. job_ids[] — operator-selected list of pending job UUIDs (max 10000).
  2. filter{} + confirm_count — 'select all matching' mode. The server recomputes the matching set and rejects with 409 Conflict if the count differs from confirm_count by more than ~1% drift (race protection — the queue grew/shrank between preview and execute).

Returns the kill count, the audit row id, and a missed count for rows that were no longer pending when LREM ran.

Authentication: Requires Bearer token.

Request

Responses

Successful response