---
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}`

## Request

- Base URL: `https://api.sandbox.zusapi.com`
- URL: `https://api.sandbox.zusapi.com/patient-history/jobs/{job-id}`
- Auth: HTTP bearer

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.dev/zushealth/apis/patient-history-api.md) - [All operations](https://skmtc.dev/zushealth/apis/patient-history-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zushealth/apis/patient-history-api/revisions/83a1f3de69af?raw)
