Skip to main content
PATCH
/
v1
/
user-limits
/
{userId}
Update a user limit
curl --request PATCH \
  --url https://api.example.com/v1/user-limits/{userId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "allowedModels": [
    "claude-sonnet-4-6"
  ],
  "budgetCapUsd": 25
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

userId
string
required

Body

application/json
allowedModels
string[]
Example:
["claude-sonnet-4-6"]
budgetCapUsd
object
Example:

25

status
enum<string>
Available options:
active,
suspended

Response

200 - undefined