admin
Update Spending Limit
Update a user's per-period spending limit.
- field absent → no-op
- field null → reset to billing-type default
- field number → set to that dollar amount
put/v1/admin/accounts/{user_id}/spending-limit
Path parameters
user_idstring required
Headers
authorizationstring
Request body
Response
Successful Response
Example response
{
"rate_limits": {
"rpm": {
"usage": 12,
"limit": 100
},
"concurrency": {
"usage": 12,
"limit": 100
}
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.