billing

Create a new cost center

Creates a new cost center for an enterprise. The authenticated user must be an enterprise admin.

post/enterprises/{enterprise}/settings/billing/cost-centers

Path parameters

enterprisestring required

The slug version of the enterprise name.

Request body

namestring required

The name of the cost center (max length 255 characters)

Response

Cost center created successfully

idstring

Unique identifier for the cost center

namestring

Name of the cost center

azure_subscriptionstring nullable

Azure subscription ID associated with the cost center. Only present for cost centers linked to Azure subscriptions.

state'active' | 'deleted'

State of the cost center.

Changes