所需权限: 无——团队任一成员的 Key 都可以调用
路径参数
响应
object
错误
出错时返回success: false、message 和 error_code。全部错误码见错误码。
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://app.memorylake.ai/openapi/memorylake/admin/v1/me/authorized-apps/9d971b8b5813eb1ecceec31354c101b4' \
-H 'Authorization: Bearer sk_xxxxxx'
{
"success": true,
"message": "Operation completed successfully",
"data": {
"revoked": false
}
}
撤销一次授权:在用户从应用里重新授权之前,该应用无法再访问这个记忆边界
curl -X DELETE 'https://app.memorylake.ai/openapi/memorylake/admin/v1/me/authorized-apps/9d971b8b5813eb1ecceec31354c101b4' \
-H 'Authorization: Bearer sk_xxxxxx'
{
"success": true,
"message": "Operation completed successfully",
"data": {
"revoked": false
}
}
DELETE /openapi/memorylake/admin/v1/me/authorized-apps/{id}
curl -X DELETE 'https://app.memorylake.ai/openapi/memorylake/admin/v1/me/authorized-apps/9d971b8b5813eb1ecceec31354c101b4' \
-H 'Authorization: Bearer sk_xxxxxx'
{
"success": true,
"message": "Operation completed successfully",
"data": {
"revoked": false
}
}
success: false、message 和 error_code。全部错误码见错误码。
| 状态码 | 含义 |
|---|---|
401 | API Key 缺失、无效、已停用或已过期 |
403 | 该 Key 无权执行此操作 |
422 | 请求体或参数未通过校验 |
429 | 请求过多,请按 Retry-After 等待后重试 |
500 | 服务端错误 |