putBillingEntitlement
PUT/api/v1/billing/entitlements/:id
The billing service's entitlement of its tenant, whole (BillingEntitlement, docs/architecture.md §12 Plans). Applied only when version is above the version applied last; an older or equal one answers applied: false and changes nothing, so pushes that arrive out of order or twice are harmless. Its status sets the tenant's state, its account the tenant's account; the limits reach the tenant's hubs on installations through pollInstallation, calls and the synthetic cadence reach Watch with the next push, and a change of the delivery mode applies the rules of docs/on-call.md §4 (from evaluation, verified numbers become unverified). 422 is final; the billing service doesn't send it again.
Request
Responses
- 200
- 422
Applied or not
billing.unknown_tenant: no tenant of the billing service has the id; tenant.deleting; request.invalid