---
title: "Cancel a running or pending job"
method: DELETE
path: "/v4/query/jobs/{job_id}"
tags: ["v4", "Query Jobs"]
---

# Cancel a running or pending job

`DELETE /v4/query/jobs/{job_id}`

## Path parameters

- `job_id` string, required

## Response `204`

Success

## Other responses

- `401` — Auth Invalid Token
- `403` — Forbidden Insufficient Permissions
- `404` — Resource Not Found
- `422` — Validation Failed
- `426` — Business Quota Exceeded
- `500` — Internal Error

---

[API](https://skmtc.dev/definite/apis/defapi.md) · [All operations](https://skmtc.dev/definite/apis/defapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/definite/defapi/revisions/5ea378187147/schema)
