---
title: "Delete a scheduled job"
method: DELETE
path: "/patient-history/jobs/{job-id}"
tags: ["Patient History Retrieval"]
---

# Delete a scheduled job

`DELETE /patient-history/jobs/{job-id}`

This endpoint deletes a scheduled patient history job.

## Path parameters

- `job-id` string, uuid, required — The ID of a patient history job.

## Headers

- `Zus-Account` string, uuid — The Builder ID of another builder on whose behalf the caller is acting. This requires that the provider builder has a cross-builder grant allowing access to the caller.

## Response `204`

Patient history retrieval job has been deleted.

## Other responses

- `400` — Patient history retrieval job was not deleted because the request is invalid (job already run).
- `403` — Patient history retrieval job was not deleted because caller is not permitted to perform this action.
- `404` — Patient history retrieval job was not deleted because the job couldn't be found.
- `500` — Patient history retrieval job was not deleted because something went wrong.

---

[API](https://skmtc.net/zushealth/apis/auth-service-api.md) · [All operations](https://skmtc.net/zushealth/apis/auth-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zushealth/auth-service-api/revisions/ee03e3c0910d/schema)
