---
title: "Cancel Job"
method: POST
path: "/jobs/{job_id}/cancel"
tags: ["background_jobs"]
---

# Cancel Job

`POST /jobs/{job_id}/cancel`

Cancel a background job (if it's still pending or processing).

Args:
    job_id: ID of the job to cancel
    user_data: Current user and org (from auth)
    
Returns:
    Cancellation confirmation
    
Raises:
    HTTPException: If job not found, access denied, or cannot be canceled

## Path parameters

- `job_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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