BILLING_API scope. Writes run as the key’s service account owner. This API does not add or remove group members.
Base URL
Prerequisites
- API key with the
BILLING_APIscope - The key owner is a service account that has not been deleted and has an active Admin membership
Set the monthly budget
PUT /groups/{groupId}/monthly-budget takes the budget directly.
{ "type": "unlimited" } removes the numeric cap. A limited amount may be zero. This value does not accept none.
For each member, the included monthly budget is the higher of the plan budget and this group budget. An unlimited group budget does not remove the workspace cap. See Billing Users for how the effective source is chosen.
The response is the group object.
Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.