# 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"
    }
  }
}
```
