v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
billing

Update a cost center

Updates an existing cost center.

patch/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}

Path parameters

enterprisestring required

The slug version of the enterprise name

cost_center_idstring required

The unique identifier of the cost center

Request body

OR

Response

Response when updating a cost center

idstring required

ID of the cost center.

namestring required

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.

ai_credit_pool_enabledboolean

Whether the cost center draws from the AI credit pool.

This can only be enabled for cost centers that contain only user or team resources.

  • false — no cap; the cost center draws from the shared enterprise pool.
  • true — the cost center is capped at an amount derived from its members' license entitlements.