Get a budget by ID for an organization
Gets a budget by ID. The authenticated user must be an organization admin or billing manager.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”The organization name. The name is not case sensitive.
The ID corresponding to the budget.
Responses
Section titled “ Responses ”Response when updating a budget
object
ID of the budget.
The type of scope for the budget
The name of the entity to apply the budget to
The user login when the budget is scoped to a single user (user scope).
The budget amount in whole dollars. For license-based products, this represents the number of licenses.
Whether to prevent additional spending once the budget is exceeded
A single product or sku to apply the budget to.
object
Whether alerts are enabled for this budget
Array of user login names who will receive alerts
Examples
{ "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", "budget_type": "ProductPricing", "budget_product_sku": "actions_linux", "budget_scope": "repository", "budget_entity_name": "example-repo-name", "budget_amount": 0, "prevent_further_usage": true, "budget_alerting": { "will_alert": true, "alert_recipients": [ "mona", "lisa" ] }}Bad Request
Basic Error
object
Example generated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}Scim Error
object
Example generated
{ "message": "example", "documentation_url": "example", "detail": "example", "status": 1, "scimType": "example", "schemas": [ "example" ]}Forbidden
Basic Error
object
Example generated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}Resource not found
Basic Error
object
Example generated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}Internal Error
Basic Error
object
Example generated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}Service unavailable
object
Example generated
{ "code": "example", "message": "example", "documentation_url": "example"}