v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
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. The authenticated user must be an enterprise admin in order to use this endpoint.

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