apicheats.dev Cheat sheet Raw .md
PATCH

Try PATCH /organizations/{org}/settings/billing/budgets/{budget_id} — GitHub API

GitHub playground

Update a budget for an organization

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

4 body fields
  • budget_amount · optional · integer — The budget amount in whole dollars. For license-based products, this represents the number of licenses.
  • prevent_further_usage · optional · boolean — Whether to prevent additional spending once the budget is exceeded. For budgets with `user` or `multi_user_customer` scope, this must remain `true`.
  • budget_alerting · optional · object — Request body field budget_alerting.
  • expires_at · optional · string — The date the budget will expire in `YYYY-MM-DD` format. Only dates in the future are accepted. If not set, the budget will not expire. Setting to `null` or `0` will remove the expiration date from a budget if set. Only supported for existing user-scoped budgets.