---
title: "Delete an existing enrollment"
method: DELETE
path: "/enrollment-statuses/{patientId}:{packageId}"
tags: ["EnrollmentStatuses"]
---

# Delete an existing enrollment

`DELETE /enrollment-statuses/{patientId}:{packageId}`

## Request

- Base URL: `https://api.sandbox.zusapi.com/zap-data-subscriptions`
- URL: `https://api.sandbox.zusapi.com/zap-data-subscriptions/enrollment-statuses/{patientId}:{packageId}`
- Auth: none declared

This endpoint can be used to hard delete a specific package enrollment status using the enrollment status id. Enrollment status id is a combination of the patient ID and the package ID in the following format "patientId:packageId"

## Path parameters

- `patientId` string, required
- `packageId` string, required

## Response `204`

Successfully delete the package enrollment status.

## Other responses

- `400`: Bad request. This would usually indicate that the there is missing or invalid data in the request.
- `500`: Error condition

---

[API](https://skmtc.dev/zushealth/apis/zap-data-subscriptions.md) - [All operations](https://skmtc.dev/zushealth/apis/zap-data-subscriptions/llms.txt) - [OpenAPI document](https://skmtc.dev/zushealth/apis/zap-data-subscriptions/revisions/53c881ee99ff?raw)
