admin
Update Spending Limit
Changed onUpdate 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
Request
- Base URLhttps://api.beeble.ai
- AuthAPI key in header x-api-key
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
- info
added the optional property
to the response with the status
- info