---
title: "Create Cost Center"
method: POST
path: "/management"
---

# Create Cost Center

`POST /management`

## Request

- Base URL: `https://api.umbrellacost.io/api/v2/user-management/cost-centers`
- URL: `https://api.umbrellacost.io/api/v2/user-management/cost-centers/management`
- Auth: none declared. Required headers: `Authorization`, `apikey`

## Headers

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

## Request body

- object
  - `costCenter` object, required: Cost center properties
    - `id` string, required: Generate a uuid
    - `name` string, required: The cost center name
    - `externalId` string: Optional Identifier for external applications
    - `parentCcId` string: For top level cost center, keep this "None". For sub cost centers - provide the parent cost center Id
  - `accountsPayload` object: Accounts to add to the cost center. A cost center can be created empty and accounts can be assigned later on.
    - `payerWithLinkedAccounts` object: Payer account Id to be included with some of its linked accounts
    - `fullyAssignedPayerAccountIDs` string[]: An array of payer account Ids to be included in their entirety in the cost center

## Response `200`

Successful operation

- object

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/umbrellacost/apis/user-management-cost-centers-api.md) - [All operations](https://skmtc.dev/umbrellacost/apis/user-management-cost-centers-api/llms.txt) - [OpenAPI document](https://skmtc.dev/umbrellacost/apis/user-management-cost-centers-api/revisions/4136a46d4bb9?raw)
