Skip to main content
PATCH
Update API Key
For a detailed walkthrough with examples, see the API Key Management guide.

Authorizations

Authorization
string
header
required

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

Path Parameters

key_id
integer
required

Body

application/json
label
string | null
daily_limit
integer | null
minute_limit
integer | null
allowed_models
string[] | null
balance
number | null
use_subs_first
boolean | null
fallback_to_payg
boolean | null

Response

Successful Response

data
AccountKeyItem · object[]
required

A list of API keys.