---
title: "Delete customer prescription"
method: DELETE
path: "/v2/customers/{id}/prescriptions/{prescriptionId}"
tags: ["Customers.Prescriptions"]
---

# Delete customer prescription

`DELETE /v2/customers/{id}/prescriptions/{prescriptionId}`

## Request

- Base URL: `https://api.carecycle.ai`
- URL: `https://api.carecycle.ai/v2/customers/{id}/prescriptions/{prescriptionId}`
- Auth: API key in header `x-api-key`

Remove a prescription from a customer's record.

## Path parameters

- `id` string, uuid, required: Customer ID
- `prescriptionId` string, uuid, required: Prescription ID

## Response `200`

DELETE /v2/customers/:id/prescriptions/:prescriptionId Positive response

- DeleteV2CustomersIdPrescriptionsPrescriptionIdPositiveResponse
  - `success` boolean, required: Whether the deletion was successful
  - `message` string, required: Success message

## Other responses

- `400`: DELETE /v2/customers/:id/prescriptions/:prescriptionId Negative response 400
- `401`: DELETE /v2/customers/:id/prescriptions/:prescriptionId Negative response 401
- `403`: DELETE /v2/customers/:id/prescriptions/:prescriptionId Negative response 403
- `404`: DELETE /v2/customers/:id/prescriptions/:prescriptionId Negative response 404
- `409`: DELETE /v2/customers/:id/prescriptions/:prescriptionId Negative response 409
- `422`: DELETE /v2/customers/:id/prescriptions/:prescriptionId Negative response 422
- `429`: DELETE /v2/customers/:id/prescriptions/:prescriptionId Negative response 429
- `500`: DELETE /v2/customers/:id/prescriptions/:prescriptionId Negative response 500
- `502`: DELETE /v2/customers/:id/prescriptions/:prescriptionId Negative response 502
- `503`: DELETE /v2/customers/:id/prescriptions/:prescriptionId Negative response 503

---

[API](https://skmtc.dev/carecycle/apis/carecycle-public-api.md) - [All operations](https://skmtc.dev/carecycle/apis/carecycle-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/carecycle/apis/carecycle-public-api/revisions/db390c743c36?raw)
