---
title: "Unlink a contact from a company"
description: "DELETE /companies/{company_id}/linked_contacts/{contact_id} — Unlinks the contact from the company. A company that still holds data cannot lose its last contact."
canonical_url: https://developer.onepagecrm.com/api/reference/companies/delete-companies-company_id-linked_contacts-contact_id/
source: Markdown mirror of https://developer.onepagecrm.com/api/reference/companies/delete-companies-company_id-linked_contacts-contact_id/
---

`DELETE /companies/{company_id}/linked_contacts/{contact_id}`

Unlinks the contact from the company. A company that still holds data cannot lose its last contact.

Resource: [Companies](https://developer.onepagecrm.com/api/reference/companies/) · [API Reference](https://developer.onepagecrm.com/api/reference/)

## Request

```bash
curl -X DELETE "https://app.onepagecrm.com/api/v3/companies/{company_id}/linked_contacts/{contact_id}" \
  -u $user_id:$api_key
```

Authentication is HTTP Basic — `user_id` as username, `api_key` as password.
See https://developer.onepagecrm.com/api/authentication/.

## Path parameters

| Name | Type | Description |
| --- | --- | --- |
| `company_id` | string | Company ID |
| `contact_id` | string (bson-id) | ID of the contact to be un-linked, from the company |

## Responses

### 200

OK

Standard error responses: 400, 401, 403, 404, 409, 500 — shared across the API. See https://developer.onepagecrm.com/api/errors/.

## Related guides

- [Authentication](https://developer.onepagecrm.com/api/authentication/)
- [Errors](https://developer.onepagecrm.com/api/errors/)
- [Rate limits](https://developer.onepagecrm.com/api/rate-limits/)
- [Undo deletion](https://developer.onepagecrm.com/api/undo-deletion/)
