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

# Delete a job from history

`DELETE /jobs/{id}`

Delete the job from the jobs history.  Only a completed job can be deleted. If the job has not run or not completed yet, you must cancel it first. If the job has outputs, all outputs will be deleted as well.

## Path parameters

- `id` string, required

## Response `200`

---

[API](https://skmtc.net/uclouvain/apis/orthanc-api.md) · [All operations](https://skmtc.net/uclouvain/apis/orthanc-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uclouvain/orthanc-api/versions/9297c4930d96/schema)
