Skip to main content
POST
Create a new cost center

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-finops-version
string<date>
required
x-organization-id
string<uuid>
required

The ID of the entity that owns the requested resource.

Example:

"9d2b4c8f-2087-4738-ba91-7359683c49a4"

Body

application/json

Schema for creating a new cost center.

description
string

Description of the cost center

Maximum string length: 2048
name
string

Name of the cost center

Maximum string length: 500

Response

Successful Response

Represents a cost center retrieved from an accounting system.

id
string<uuid>
required
created_at
string<date-time>
required

The timestamp when the cost center was created.

updated_at
string<date-time>
required

The timestamp when the cost center was last updated.

description
string

Description of the cost center

is_external
boolean
default:false

Whether the cost center is from an external system

name
string