> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/001_user/010_company_management/003__delete_company.md).

# Delete Company

GraphQL endpoint: `/user`

Deletes a company. Only users with a privileged connection to the company (owner, admin, or external admin) may delete it.

## Query

```graphql
mutation ($companyId: ID!) {
  deleteCompany(companyId: $companyId) {
    status
  }
}

```

## Variables

```json
{
  "companyId": "00000000-0000-4000-8000-000000000001"
}
```

## Response

```json
{
  "data": {
    "deleteCompany": {
      "status": "OK"
    }
  }
}
```
