---
title: "Remove customer relationship"
method: DELETE
path: "/v2/customers/{id}/relationships/{relationshipId}"
tags: ["Customers.Relationships"]
---

# Remove customer relationship

`DELETE /v2/customers/{id}/relationships/{relationshipId}`

## Request

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

Remove the link between two customers. Both customers and the phone number's primary stay unchanged.

## Path parameters

- `id` string, uuid, required: Customer ID
- `relationshipId` string, uuid, required: Relationship ID

## Response `200`

DELETE /v2/customers/:id/relationships/:relationshipId Positive response

- DeleteV2CustomersIdRelationshipsRelationshipIdPositiveResponse
  - `success` boolean, required

## Other responses

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