---
title: "Delete a company"
method: DELETE
path: "/v1/locations/{locationId}/companies/{companyId}"
tags: ["Companies"]
---

# Delete a company

`DELETE /v1/locations/{locationId}/companies/{companyId}`

## Request

- Base URL: `https://api.cliento.com`
- URL: `https://api.cliento.com/v1/locations/{locationId}/companies/{companyId}`
- Auth: HTTP bearer

A company with upcoming bookings cannot be deleted. Those bookings are cancelled or deleted in Cliento first.

## Path parameters

- `locationId` string, required
- `companyId` string, required

## Headers

- `Idempotency-Key` string

## Response `204`

No Content

## Other responses

- `default`: Any failure. See the Errors section.

---

[API](https://skmtc.dev/cliento/apis/cliento-api.md) · [All operations](https://skmtc.dev/cliento/apis/cliento-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cliento/apis/cliento-api/revisions/29ca811bc061?raw)
