POST /v1/admin/entitlement/refresh
Refresh the locally verified entitlement lease
说明(契约原文)
Requires a live platform administrator session. The control plane contacts the configured license service, verifies the signed lease, and atomically installs it locally. Existing edge traffic does not depend on this request or on license-service availability.
参数
| 名称 | 位置 | 类型 | 必填 | 说明 |
|---|---|---|---|---|
X-Request-ID | header | string | 是 | — |
Idempotency-Key | header | string | 是 | — |
请求体
application/json · 必填:是
响应
| 状态码 | 说明 |
|---|---|
200 | The signed lease was verified and installed. 字段: |
400 | Stable API error. |
401 | Stable API error. |
403 | Stable API error. |
409 | Stable API error. |
502 | Stable API error. |
503 | Stable API error. |
504 | Stable API error. |
失败时怎么办
400按字段说明修正参数或请求体再发;不要原样重试。401检查凭据格式、是否过期或被轮换。403检查 Key 范围与所有者当前权限、当前租户作用域;不要换更高权限账号绕过。409先回读资源当前状态;同一操作重试保持原 Idempotency-Key 和原请求内容。503依赖暂不可用:稍后用原 Idempotency-Key 重试。