v36
latestOpenAPI 3.0.3GNU General Public License v3.0raw.githubusercontent.com2026-08-017758212.6 KBqueue
Interrupt the first active job
Deprecated. Prefer the jobs-namespace cancel endpoints: POST /api/jobs/{job_id}/cancel for a single job, or POST /api/jobs/cancel to cancel jobs by ID.
Cancels the first active job for the authenticated user (the currently running job if there is one, otherwise the next pending job). Takes no body and cannot target a specific job — use the jobs-namespace endpoints for that.
post/api/interrupt
Response
Success - first active job cancelled, or no active job found