:id 会被忽略,直接吊销该用户唯一的那把 Key。吊销后旧 Key 立即失效。
接口
认证
Authorization: Bearer <jwt> 或 X-API-Key <sk_...>(仅需登录)。
响应
boolean
是否为 true(已吊销)。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X DELETE https://memo.ariacompute.cn/v1/apikeys/ignored \
-H "Authorization: Bearer <jwt>"
{
"deleted": true
}
DELETE /v1/apikeys/:id 吊销当前用户的 API Key。每个用户仅一个 Key,路径 id 被忽略。
curl -X DELETE https://memo.ariacompute.cn/v1/apikeys/ignored \
-H "Authorization: Bearer <jwt>"
{
"deleted": true
}
:id 会被忽略,直接吊销该用户唯一的那把 Key。吊销后旧 Key 立即失效。
DELETE /v1/apikeys/:id
Authorization: Bearer <jwt> 或 X-API-Key <sk_...>(仅需登录)。
curl -X DELETE https://memo.ariacompute.cn/v1/apikeys/ignored \
-H "Authorization: Bearer <jwt>"
{
"deleted": true
}
Was this page helpful?