跳转到主要内容
POST
POST /admin/api/credentials/{id}/quota-reset

授权

gproxy_session
string
cookie
必填

请求头

x-gproxy-admin-scope
string

Administrative scope selected by the caller.

路径参数

id
string
必填

请求体

application/json
grantId
string | null
program
string | null
requestId
string | null

Reuse after an uncertain reply to avoid consuming another grant.

响应

Success

The outcome of redeeming an upstream reset credit.

outcome
string
必填

reset, nothing_to_reset, no_credit, already_redeemed, ineligible, unavailable or cooldown.

reason
string | null
必填
windowsReset
integer<uint64> | null
必填
必填范围: x >= 0