Update a cost center
Updates 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.
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
Changed in 2 of the 62 revisions of this API.6
- ○
added
subschema #1subschema #2to the request bodyanyOflistrequest-body-any-of-added
- ○
the request property
namebecame optionalrequest-property-became-optional
- ○
added the non-success response with the status
422response-non-success-status-added
- ○
- ○
added the new optional request property
ai_credit_pool_enablednew-optional-request-property
- ○
added the optional property
ai_credit_pool_enabledto the response with the200statusresponse-optional-property-added
- ○
added the optional property
ai_credit_pool_stateto the response with the200statusresponse-optional-property-added
- ○