POST
/organization/spend_limitUpdate organization spend limit
Create or replace the organization's hard spend limit.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
Parameters for the hard spend limit you want to create or replace.
threshold_amountintegerrequired
The hard spend limit amount, in cents.
currencystringrequired
The currency for the threshold amount. Currently, only `USD` is supported.
intervalstringrequired
The time interval for evaluating spend against the threshold. Currently, only `month` is supported.
200Hard spend limit created or replaced successfully.
objectstringrequired
The object type, which is always `organization.spend_limit`.
threshold_amountintegerrequired
The hard spend limit amount, in cents.
currencystringrequired
The currency for the threshold amount. Currently, only `USD` is supported.
intervalstringrequired
The time interval for evaluating spend against the threshold. Currently, only `month` is supported.
enforcementobjectrequired
The current enforcement state of the hard spend limit.