Bulk Kill Pending Jobs
POST/api/v2/queue-admin/jobs/kill-pending
Bulk-kill pending Horizon jobs. Two mutually-exclusive shapes are accepted:
job_ids[]— operator-selected list of pending job UUIDs (max 10000).filter{}+confirm_count— 'select all matching' mode. The server recomputes the matching set and rejects with 409 Conflict if the count differs fromconfirm_countby 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
- 200
Successful response