---
title: "Delete cost center"
method: DELETE
path: "/v2/companies/{companyId}/cost-centers/{costCenterId}"
tags: ["Cost Centers"]
---

# Delete cost center

`DELETE /v2/companies/{companyId}/cost-centers/{costCenterId}`

This endpoint deletes a cost center by ID.

## Query parameters

- `detachUsers` boolean

## Response `204`

No Content

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — The specified resource was not found.

---

[API](https://skmtc.net/spotnana/apis/company-api.md) · [All operations](https://skmtc.net/spotnana/apis/company-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spotnana/company-api/revisions/fc09f0cd1f4d/schema)
