Remove resources from a cost center
Changed onRemove 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, and organization owners can remove non-team resources from cost centers associated with resources they administer. A custom role holder with fine-grained write access to enterprise billing can remove users and any organizations or repositories they administer; only enterprise owners and billing managers can remove enterprise teams. An installation access token for a GitHub App installed on the enterprise with write access to enterprise billing can remove users from any cost center in the enterprise.
Request
- Base URLhttps://api.github.com
- URLhttps://api.github.com/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource
- Authnone declared
Path parameters
The slug version of the enterprise name.
The ID corresponding to the cost center.
Request body
Response
Response when removing resources from a cost center
Changes
- info
added the new optional request property
- info