---
title: "Delete a cost center"
method: DELETE
path: "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}"
tags: ["billing"]
---

# Delete a cost center

`DELETE /enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}`

Archives a cost center by ID. Enterprise owners and billing managers can archive any cost center. Organization owners can archive cost centers associated with resources they administer.

## Path parameters

- `enterprise` string, required
- `cost_center_id` string, required

## Response `200`

Response when deleting a cost center

- DeleteCostCenter
  - `message` string, required — A message indicating the result of the deletion operation
  - `id` string, required — The unique identifier of the deleted cost center
  - `name` string, required — The name of the deleted cost center
  - `costCenterState` 'CostCenterArchived', required — The state of the cost center after deletion

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Resource not found
- `500` — Internal Error
- `503` — Service unavailable

---

[API](https://skmtc.net/github/apis/enterprise-cloud.md) · [All operations](https://skmtc.net/github/apis/enterprise-cloud/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/enterprise-cloud/revisions/daeba3129b5f/schema)
