latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-141,4691,08313.4 MB

daeba3129b5f

billing

Remove resources from a cost center

Remove resources from a cost center.

The usage for the resources will no longer be charged to the cost center's budget. Enterprise owners and billing managers can remove any resource. Organization owners can remove non-team resources from cost centers associated with resources they administer.

delete/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource

Path parameters

enterprisestring required

The slug version of the enterprise name.

cost_center_idstring required

The ID corresponding to the cost center.

Request body

usersstring[]

The usernames of the users to remove from the cost center.

organizationsstring[]

The organizations to remove from the cost center.

repositoriesstring[]

The repositories to remove from the cost center.

enterprise_teamsstring[]

The enterprise teams to remove from the cost center.

Response

Response when removing resources from a cost center

messagestring