billing
Create a new cost center
Changed onCreates a new cost center for an enterprise. Enterprise owners and billing managers can create cost centers. A custom role holder with fine-grained write access to enterprise billing can also create cost centers. An installation access token for a GitHub App installed on the enterprise with write access to enterprise billing can create cost centers in the enterprise.
post/enterprises/{enterprise}/settings/billing/cost-centers
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/enterprises/{enterprise}/settings/billing/cost-centers
- Auth: none declared
Path parameters
enterprisestring required
The slug version of the enterprise name.
Request body
Response
Cost center created successfully
Changes
- 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