Skip to main content
PATCH
Update key budget

Authorizations

Authorization
string
header
required

Management key created in the console. read scope reads; write scope also changes API keys. Inference API keys are not accepted.

Path Parameters

id
string
required
Pattern: ^[A-Za-z0-9-]{1,80}$

Body

application/json
budget
integer | null
Required range: 0 <= x <= 1000000000000
remaining
integer | null
Required range: 0 <= x <= 1000000000000
resetPeriod
enum<string>
Available options:
none,
daily,
weekly,
monthly

Response

Successful response.

ok
boolean
required