---
title: "Interrupt the first active job"
method: POST
path: "/api/interrupt"
tags: ["queue"]
deprecated: true
---

# Interrupt the first active job

`POST /api/interrupt`

> **Deprecated.**

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.

## Response `200`

Success - first active job cancelled, or no active job found

## Other responses

- `401` — Unauthorized - Authentication required
- `500` — Internal server error

---

[API](https://skmtc.net/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.net/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/revisions/a3660438bbe9/schema)
