Get a cost center by ID
Changed onGets a cost center by ID. Enterprise owners and billing managers can view any cost center, and organization owners can view cost centers associated with resources they administer. A custom role holder with fine-grained read access to enterprise billing can also view the cost center. An installation access token for a GitHub App installed on the enterprise with read access to enterprise billing can get 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 ID corresponding to the cost center.
Query parameters
The page number of the results to fetch. For more information, see "Using pagination in the REST API."
The number of results per page (max 100). For more information, see "Using pagination in the REST API."
Response
Response when getting a cost center
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info