---
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

## Changes

- **2026-06-18** `82d930769975` — 1 info
  - endpoint deprecated
- **2026-06-03** `8560879e6188` — 1 breaking, 2 info
  - removed the request body
  - added the optional property `details` to the response with the `401` status
  - added the optional property `details` to the response with the `500` status
- **2026-05-22** `09a5075587c8` — 3 info
  - api operation id `interruptExecution` removed and replaced with `interruptJob`
  - added the non-success response with the status `401`
  - added the non-success response with the status `500`
- **2026-04-24** `a66055fa384e` — 5 info
  - api operation id `interruptJob` removed and replaced with `interruptExecution`
  - endpoint reactivated
  - added optional request body
  - removed the non-success response with the status `401`
  - …1 more

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/interrupt/post.md)

---

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