Skip to main content
DELETE
/
v2
/
customers
/
{id}
/
prescriptions
/
{prescriptionId}
Delete customer prescription
curl --request DELETE \
  --url https://api.carecycle.ai/v2/customers/{id}/prescriptions/{prescriptionId} \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "message": "<string>"
}

Authorizations

x-api-key
string
header
required

API key required for authentication.

Keys begin with 'cc_' prefix. Get your API key from the Developer Dashboard.

Path Parameters

id
string<uuid>
required

Customer ID

prescriptionId
string<uuid>
required

Prescription ID

Response

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

success
boolean
required

Whether the deletion was successful

message
string
required

Success message