---
title: "Delete a company. Sets company_id = null on every linked profile; never deletes profiles or conversations (company-profiles-spec.md rule 11)."
method: DELETE
path: "/api/v1/company/{companyId}"
tags: ["Company"]
---

# Delete a company. Sets company_id = null on every linked profile; never deletes profiles or conversations (company-profiles-spec.md rule 11).

`DELETE /api/v1/company/{companyId}`

## Request

- Base URL: `https://api.intheloop.io`
- URL: `https://api.intheloop.io/api/v1/company/{companyId}`
- Auth: API key in header `Authorization`

## Path parameters

- `companyId` string, required

## Headers

- `Loop-Workspace-Id` string
- `Authorization` string
- `X-Impersonate-User` string

## Response `200`

OK

## Other responses

- `400`: Bad request. Check fields message and error code from response body for additional information.
- `401`: Unauthorized request. Check fields message and error code from response body for additional information.
- `404`: Requested resource not found.
- `429`: Too many requests. Check response header Retry-After indicating how long to wait before making a new request.

---

[API](https://skmtc.dev/intheloop/apis/loop-api.md) - [All operations](https://skmtc.dev/intheloop/apis/loop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/intheloop/apis/loop-api/revisions/0892c5ba0787?raw)
