401。此操作不可撤销。
方法: DELETE 路径: /api/api-keys/{id} 认证: 会话 Bearer
路径参数
string
required
来自
POST /api/api-keys 或 GET /api/api-keys 的密钥标识。响应
204 No Content。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
按标识吊销 API 密钥。密钥立即停止生效,此后使用该密钥的请求将从网关返回 401。
401。此操作不可撤销。
方法: DELETE 路径: /api/api-keys/{id} 认证: 会话 Bearer
POST /api/api-keys 或 GET /api/api-keys 的密钥标识。204 No Content。
curl -X DELETE \
-H "Authorization: Bearer eyJhbGciOi..." \
https://ariacompute.cn/api/api-keys/key_01H...
| 状态 | 含义 |
|---|---|
401 | 缺失或无效的会话令牌。 |
404 | 当前账户中不存在该 ID 的密钥。 |
Was this page helpful?