billing
Get a budget by ID
Gets a budget by ID. The authenticated user must be an enterprise admin or billing manager.
get/enterprises/{enterprise}/settings/billing/budgets/{budget_id}
Path parameters
enterprisestring required
The slug version of the enterprise name.
budget_idstring required
The ID corresponding to the budget.
Response
Response when updating a budget
Example response
{
"budget_scope": "enterprise",
"budget_entity_name": "octocat/hello-world",
"user": "octocat",
"prevent_further_usage": true,
"budget_product_sku": "actions_linux",
"budget_alerting": {
"will_alert": true,
"alert_recipients": [
"mona",
"lisa"
]
}
}