---
title: "Update Cost Center"
method: PUT
path: "/api/v1/users/cost-centers/{costCenterId}"
tags: ["Cost Centers"]
---

# Update Cost Center

`PUT /api/v1/users/cost-centers/{costCenterId}`

Update an existing cost center

## Path parameters

- `costCenterId` string, required

## Headers

- `apikey` string, required
- `Authorization` string, required

## Request body

- object
  - `name` string, required — Cost center name
  - `code` string — Cost center code
  - `linkedAccountIds` string[], required — All the linked accounts which should be attached to the cost center

## Response `200`

---

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