---
title: "Cancel the case job"
method: DELETE
path: "/cases/jobs/{case_job_id}"
tags: ["cases"]
---

# Cancel the case job

`DELETE /cases/jobs/{case_job_id}`

Cancels the remote job behind the case result, leaving the case result
itself in place. Only a job that is still running can be cancelled: a job
that has already reached a terminal status is rejected with 409.

## Path parameters

- `case_job_id` string, required

## Headers

- `X-CSRF-Protection` boolean, required

## Response `204`

Succeeded

## Other responses

- `400` — Bad request
- `default` — Other error

---

[API](https://skmtc.dev/matlantis/apis/matlantis-web-ui-backend-api.md) · [All operations](https://skmtc.dev/matlantis/apis/matlantis-web-ui-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/matlantis/apis/matlantis-web-ui-backend-api/revisions/292994a87fa3?raw)
