---
title: "Cancel Job"
method: DELETE
path: "/api/jobs/{job_id}"
---

# Cancel Job

`DELETE /api/jobs/{job_id}`

## Request

- Base URL: `https://api.foodphoto.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.foodphoto.ai/api/jobs/{job_id}`
- Auth: HTTP bearer

Cancel/revoke a running Celery job

Returns:
{
    "job_id": "task-id",
    "status": "revoked",
    "message": "Job cancelled successfully"
}

## Path parameters

- `job_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/foodphoto/apis/foodphoto-ai-api.md) · [All operations](https://skmtc.dev/foodphoto/apis/foodphoto-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/foodphoto/apis/foodphoto-ai-api/revisions/e4fbf114dfcf?raw)
