<!-- Source: https://docs.vinsi.ai/api-docs/crm-company-delete -->
# Delete Company

Delete a CRM company. Linked contacts are kept and unlinked. If activities, deals, engagements or invoices reference the company the request fails with 409 and a blockers object ({ activities, deals, engagements, invoices }) unless cascade=true, which unlinks those records and deletes the company.

```http
DELETE https://dashboard.vinsi.ai/api/crm/companies/{companyId}
```

## Authentication

Send your API key in the `x-api-key` header. Create keys in the VINSI dashboard under Settings → API Keys.

## Headers

| Name | Type | Required |
|---|---|---|
| Content-Type | string | yes (application/json) |
| x-api-key | string | yes |

## Path parameters

| Name | Example |
|---|---|
| companyId | 318 |

## Query parameters

| Name | Required | Example |
|---|---|---|
| cascade | no | true |

## Example request

```bash
curl -X DELETE 'https://dashboard.vinsi.ai/api/crm/companies/318' \
  -H 'x-api-key: YOUR_API_KEY'
```

## Example response

```json
{
  "success": true
}
```

