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

## Request

- Base URL: `https://api-ext-sboxmeta.partners.spotnana.com`
- URL: `https://api-ext-sboxmeta.partners.spotnana.com/v2/companies/{companyId}/cost-centers/{costCenterId}`
- Auth: HTTP bearer

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.dev/spotnana/apis/company-api.md) - [All operations](https://skmtc.dev/spotnana/apis/company-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spotnana/apis/company-api/revisions/184a1b415751?raw)
