billing
Update a budget
Updates an existing budget for an enterprise. The authenticated user must be an enterprise admin, organization admin, or billing manager of the enterprise.
patch/enterprises/{enterprise}/settings/billing/budgets/{budget_id}
Path parameters
enterprisestring required
The slug version of the enterprise name
budget_idstring required
The unique identifier of the budget
Request body
Response
Budget updated successfully
Example response
{
"budget": {
"budget_scope": "enterprise",
"budget_entity_name": "example-repository-name",
"user": "octocat",
"consumed_amount": 42.5,
"budget_amount": 100,
"prevent_further_usage": true,
"budget_product_sku": "actions_linux",
"budget_alerting": {
"will_alert": true,
"alert_recipients": [
"mona",
"lisa"
]
}
}
}