Update a budget
Changes the amount, thresholds or behavior. Send the version you read as expected_version; a newer
stored version, for instance after the customer edited it, is refused with 409.
Beta: the request and response shapes of this endpoint may change before general availability.
Authorizations
Body
The currency or credit unit, and the subscription, are fixed at creation.
What reaching the amount does. A SOFT budget only sends alerts; a HARD budget also makes the entitlement check answer BUDGET_EXCEEDED for the features whose usage counts in its spend. A HARD budget on one subscription refuses the checks naming that subscription, and the checks naming none once every subscription charging the feature's metric is refused by its own.
SOFT, HARD Response
Budget updated
A spending limit for one currency, set by you or by the customer, with alerts at percentages of it. It counts the customer's whole spend, or one subscription's. A HARD budget also refuses access once reached. A budget never charges the customer.
What reaching the amount does. A SOFT budget only sends alerts; a HARD budget also makes the entitlement check answer BUDGET_EXCEEDED for the features whose usage counts in its spend. A HARD budget on one subscription refuses the checks naming that subscription, and the checks naming none once every subscription charging the feature's metric is refused by its own.
SOFT, HARD The currency the budget counts spend in; absent for a budget in a credit unit.
AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHF, CLP, CNH, CNY, COP, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STD, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UZS, VES, VND, VUV, WST, XAF, XCD, XOF, XPF, YER, ZAR, ZMW, ZWL "EUR"