Update a cost center
Changed onUpdates an existing cost center. Enterprise owners and billing managers can update any cost center, and organization owners can update cost centers associated with resources they administer. A custom role holder with fine-grained write access to enterprise billing can also update cost centers. An installation access token for a GitHub App installed on the enterprise with write access to enterprise billing can update any cost center in the enterprise.
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}
- Auth: none declared
Path parameters
The slug version of the enterprise name
The unique identifier of the cost center
Request body
Response
Response when updating a cost center
Changes
- info
added
subschema #1subschema #2to the request bodyanyOflist - info
the request property
became optional - info
added the non-success response with the status
- info
- info
added the new optional request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info