跳转到主要内容
PATCH
修改 Key 预算

授权

Authorization
string
header
必填

在控制台创建的管理密钥;read 可读取,write 还可修改 API Key。不接受推理 API Key。

路径参数

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

请求体

application/json
budget
integer | null
必填范围: 0 <= x <= 1000000000000
remaining
integer | null
必填范围: 0 <= x <= 1000000000000
resetPeriod
enum<string>
可用选项:
none,
daily,
weekly,
monthly

响应

请求成功。

ok
boolean
必填