Set the budget
Sets the budget amount, period, currency and alert threshold, and arms or disarms the Emergency Brake. All fields are optional; send at least one.
The brake is armed by default. While armed, spending past the budget pauses the affected campaigns and notifies the owner. Disarmed, spending past the budget pauses nothing (alerts still fire). Raising global_budget re-arms a brake that already fired this month, so the new amount gets the same protection.
Errors
- 400 VALIDATION_ERROR: the body failed validation; details.issues[] names each field.
Request
- Base URL: https://api.growomat.com
- URL: https://api.growomat.com/api/v1/budget
- Auth: HTTP bearer
Headers
The Space to work in, for example spc_8f3aK2. Omit it to use your personal Space. List your Spaces returns the ids. A Space that does not exist returns 404 SPACE_NOT_FOUND; one you are not a member of returns 403 NOT_A_MEMBER.
Request body
Response
OK. The result is in data. List responses also carry meta with nextCursor and total.
Changes
No recorded changes to this operation across all 1 revision of this API.