Skip to main content
PATCH
Update Api Key

Headers

authorization
string | null

Path Parameters

key_id
string
required

Body

application/json
name
string | null

Label for the key. At most 255 characters.

Maximum string length: 255
budget_usd
number | null

Lifetime spend cap in USD. Null leaves it unchanged.

Required range: 0 <= x <= 999999
reset_spent
boolean
default:false
allowed_face_ids
string[] | null
allowed_llm_models
string[] | null
clear_iam_allowlist
boolean
default:false
clear_llm_allowlist
boolean
default:false
clear_budget
boolean
default:false

Response

Successful Response