---
title: "Cancel a running job"
method: DELETE
path: "/jobs/{id}"
---

# Cancel a running job

`DELETE /jobs/{id}`

## Request

- Base URL: `https://api.openmayhem.ai/v1`
- URL: `https://api.openmayhem.ai/v1/jobs/{id}`
- Auth: HTTP bearer

Work the provider already completed is still billed.

## Path parameters

- `id` string, required

## Response `200`

The cancelled job.

## Other responses

- `401`: Missing or invalid API key.
- `404`: Unknown job or owned by another account.

---

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