|
247 | 247 | } |
248 | 248 | ], |
249 | 249 | "bodyParameters": [], |
250 | | - "descriptionHTML": "<p>Gets budgets for an enterprise. Enterprise owners and billing managers can view all budgets, and organization administrators can view budgets scoped to organizations and repositories they administer. A custom role holder with fine-grained read access to enterprise billing can also view budgets. An installation access token for a GitHub App installed on the enterprise with read access to enterprise billing can list all budgets in the enterprise.\nEach page returns up to 100 budgets.</p>", |
| 250 | + "descriptionHTML": "<p>Gets budgets for an enterprise. Enterprise owners and billing managers can view all budgets, and organization administrators can view budgets scoped to organizations and repositories they administer. A custom role holder with fine-grained read access to enterprise billing can view non-repository budgets; repository-scoped budgets require the organization administrator permissions described above. An installation access token for a GitHub App installed on the enterprise with read access to enterprise billing can list all budgets in the enterprise.\nEach page returns up to 100 budgets.</p>", |
251 | 251 | "codeExamples": [ |
252 | 252 | { |
253 | 253 | "request": { |
|
970 | 970 | } |
971 | 971 | ], |
972 | 972 | "bodyParameters": [], |
973 | | - "descriptionHTML": "<p>Gets a budget by ID. Enterprise owners and billing managers can view any budget in the enterprise, and organization administrators can view budgets scoped to organizations and repositories they administer. A custom role holder with fine-grained read access to enterprise billing can also view the budget. An installation access token for a GitHub App installed on the enterprise with read access to enterprise billing can get any budget in the enterprise.</p>", |
| 973 | + "descriptionHTML": "<p>Gets a budget by ID. Enterprise owners and billing managers can view any budget in the enterprise, and organization administrators can view budgets scoped to organizations and repositories they administer. A custom role holder with fine-grained read access to enterprise billing can view the budget unless it is scoped to a repository; repository-scoped budgets require the organization administrator permissions described above. An installation access token for a GitHub App installed on the enterprise with read access to enterprise billing can get any budget in the enterprise.</p>", |
974 | 974 | "codeExamples": [ |
975 | 975 | { |
976 | 976 | "request": { |
|
2770 | 2770 | "description": "<p>The enterprise teams to add to the cost center.</p>" |
2771 | 2771 | } |
2772 | 2772 | ], |
2773 | | - "descriptionHTML": "<p>Adds resources to a cost center.</p>\n<p>The usage for the resources will be charged to the cost center's budget. Enterprise owners and billing managers can add any resource, and organization owners can add non-team resources to cost centers associated with resources they administer. A custom role holder with fine-grained write access to enterprise billing can also add resources. An installation access token for a GitHub App installed on the enterprise with write access to enterprise billing can add resources to any cost center in the enterprise.</p>", |
| 2773 | + "descriptionHTML": "<p>Adds resources to a cost center.</p>\n<p>The usage for the resources will be charged to the cost center's budget. Enterprise owners and billing managers can add any resource, and organization owners can add non-team resources to cost centers associated with resources they administer. A custom role holder with fine-grained write access to enterprise billing can add users in the enterprise who are visible to them and organizations or repositories they administer, but cannot add enterprise teams. An installation access token for a GitHub App installed on the enterprise with write access to enterprise billing can add resources to any cost center in the enterprise.</p>", |
2774 | 2774 | "codeExamples": [ |
2775 | 2775 | { |
2776 | 2776 | "request": { |
|
2937 | 2937 | "description": "<p>The enterprise teams to remove from the cost center.</p>" |
2938 | 2938 | } |
2939 | 2939 | ], |
2940 | | - "descriptionHTML": "<p>Remove resources from a cost center.</p>\n<p>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 also remove resources. An installation access token for a GitHub App installed on the enterprise with write access to enterprise billing can remove resources from any cost center in the enterprise.</p>", |
| 2940 | + "descriptionHTML": "<p>Remove resources from a cost center.</p>\n<p>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.</p>", |
2941 | 2941 | "codeExamples": [ |
2942 | 2942 | { |
2943 | 2943 | "request": { |
|
3099 | 3099 | } |
3100 | 3100 | ], |
3101 | 3101 | "bodyParameters": [], |
3102 | | - "descriptionHTML": "<p>Gets a report of AI credit usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise, or a custom role holder with fine-grained read access to enterprise billing. An installation access token for a GitHub App installed on the enterprise with read access to enterprise billing can get this usage report.</p>\n<p><strong>Note:</strong> Only data from the past 24 months is accessible via this endpoint.</p>", |
| 3102 | + "descriptionHTML": "<p>Gets a report of AI credit usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise, an organization owner in the enterprise, or a custom role holder with fine-grained read access to enterprise billing. An installation access token for a GitHub App installed on the enterprise with read access to enterprise billing can get this usage report.</p>\n<p><strong>Note:</strong> Only data from the past 24 months is accessible via this endpoint.</p>", |
3103 | 3103 | "codeExamples": [ |
3104 | 3104 | { |
3105 | 3105 | "request": { |
|
3398 | 3398 | } |
3399 | 3399 | ], |
3400 | 3400 | "bodyParameters": [], |
3401 | | - "descriptionHTML": "<p>Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise, or a custom role holder with fine-grained read access to enterprise billing. An installation access token for a GitHub App installed on the enterprise with read access to enterprise billing can get this usage report.</p>\n<p><strong>Note:</strong> Only data from the past 24 months is accessible via this endpoint.</p>", |
| 3401 | + "descriptionHTML": "<p>Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise, an organization owner in the enterprise, or a custom role holder with fine-grained read access to enterprise billing. An installation access token for a GitHub App installed on the enterprise with read access to enterprise billing can get this usage report.</p>\n<p><strong>Note:</strong> Only data from the past 24 months is accessible via this endpoint.</p>", |
3402 | 3402 | "codeExamples": [ |
3403 | 3403 | { |
3404 | 3404 | "request": { |
|
3661 | 3661 | } |
3662 | 3662 | ], |
3663 | 3663 | "bodyParameters": [], |
3664 | | - "descriptionHTML": "<p>Gets a report of usage by cost center for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise, or a custom role holder with fine-grained read access to enterprise billing. By default this endpoint will return usage that does not have a cost center. An installation access token for a GitHub App installed on the enterprise with read access to enterprise billing can get this usage report.</p>\n<p><strong>Note:</strong> This endpoint is only available to enterprises with access to the enhanced billing platform. For more information, see \"<a href=\"https://docs.github.com/enterprise-cloud@latest/billing/using-the-enhanced-billing-platform-for-enterprises/about-the-enhanced-billing-platform-for-enterprises#how-do-i-know-if-i-can-access-the-enhanced-billing-platform\">About the enhanced billing platform for enterprises</a>.\"</p>", |
| 3664 | + "descriptionHTML": "<p>Gets a report of usage by cost center for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise, an organization owner in the enterprise, or a custom role holder with fine-grained read access to enterprise billing. By default this endpoint will return usage that does not have a cost center. An installation access token for a GitHub App installed on the enterprise with read access to enterprise billing can get this usage report.</p>\n<p><strong>Note:</strong> This endpoint is only available to enterprises with access to the enhanced billing platform. For more information, see \"<a href=\"https://docs.github.com/enterprise-cloud@latest/billing/using-the-enhanced-billing-platform-for-enterprises/about-the-enhanced-billing-platform-for-enterprises#how-do-i-know-if-i-can-access-the-enhanced-billing-platform\">About the enhanced billing platform for enterprises</a>.\"</p>", |
3665 | 3665 | "codeExamples": [ |
3666 | 3666 | { |
3667 | 3667 | "request": { |
|
3889 | 3889 | } |
3890 | 3890 | ], |
3891 | 3891 | "bodyParameters": [], |
3892 | | - "descriptionHTML": "<p>Gets a summary report of usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise, or a custom role holder with fine-grained read access to enterprise billing. By default, this endpoint will return usage across all cost centers in the enterprise. An installation access token for a GitHub App installed on the enterprise with read access to enterprise billing can get this usage summary report.</p>\n<p><strong>Note:</strong> Only data from the past 24 months is accessible via this endpoint.</p>", |
| 3892 | + "descriptionHTML": "<p>Gets a summary report of usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise, an organization owner in the enterprise, or a custom role holder with fine-grained read access to enterprise billing. By default, this endpoint will return usage across all cost centers in the enterprise. An installation access token for a GitHub App installed on the enterprise with read access to enterprise billing can get this usage summary report.</p>\n<p><strong>Note:</strong> Only data from the past 24 months is accessible via this endpoint.</p>", |
3893 | 3893 | "codeExamples": [ |
3894 | 3894 | { |
3895 | 3895 | "request": { |
|
0 commit comments