---
title: "Cancel a job"
method: DELETE
path: "/jobs/{id}"
tags: ["Jobs"]
---

# Cancel a job

`DELETE /jobs/{id}`

## Request

- Base URL: `https://api.rendley.com/v1`
- URL: `https://api.rendley.com/v1/jobs/{id}`
- Auth: API key in header `Authorization`

Cancel a queued job owned by the authenticated user and release its credits. A job already running finishes, is charged, and keeps its result.

## Path parameters

- `id` string, required

## Response `200`

OK

- HttpResponseResponse
  - `data` unknown
  - `error` HttpResponseAPIError
    - `code` string
    - `fields` HttpResponseFieldError[]
      - `field` string
      - `message` string
    - `message` string
  - `meta` unknown

## Other responses

- `401`: Unauthorized
- `404`: Not Found

---

[API](https://skmtc.dev/rendley/apis/rendley-api.md) - [All operations](https://skmtc.dev/rendley/apis/rendley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rendley/apis/rendley-api/revisions/7eb8713bbf78?raw)
