---
title: "Delete customer provider"
method: DELETE
path: "/v2/customers/{id}/providers/{providerId}"
tags: ["Customers.Providers"]
---

# Delete customer provider

`DELETE /v2/customers/{id}/providers/{providerId}`

## Request

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

Remove a doctor or other healthcare provider from a customer's record.

## Path parameters

- `id` string, uuid, required: Customer ID
- `providerId` string, uuid, required: Provider ID

## Response `200`

DELETE /v2/customers/:id/providers/:providerId Positive response

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

## Other responses

- `400`: DELETE /v2/customers/:id/providers/:providerId Negative response 400
- `401`: DELETE /v2/customers/:id/providers/:providerId Negative response 401
- `403`: DELETE /v2/customers/:id/providers/:providerId Negative response 403
- `404`: DELETE /v2/customers/:id/providers/:providerId Negative response 404
- `409`: DELETE /v2/customers/:id/providers/:providerId Negative response 409
- `422`: DELETE /v2/customers/:id/providers/:providerId Negative response 422
- `429`: DELETE /v2/customers/:id/providers/:providerId Negative response 429
- `500`: DELETE /v2/customers/:id/providers/:providerId Negative response 500
- `502`: DELETE /v2/customers/:id/providers/:providerId Negative response 502
- `503`: DELETE /v2/customers/:id/providers/:providerId 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)
