admin
Update Rate Limits
Update a user's rate limits.
Distinguishes "field not in request" from "explicit null":
- field absent → leave the stored value untouched
- field present and null → reset to type defaults (clear the stored value)
- field present and numeric → set to that number
put/v1/admin/accounts/{user_id}/rate-limits
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.