revoked 状态保留在列表中作为历史记录,之后同一邮箱可以被重新邀请。
已接受的邀请无法撤销 —— 此时成员已经存在,请改为移除成员。已过期和已拒绝的邀请本身就已失效。以上情况都会返回 409。
所需权限:
member:invite路径参数
string
必填
邀请标识符
请求头
string
可选。用相同的值重试会重放第一次的结果。
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/invitations/88' \
-H 'Authorization: Bearer sk-xxxxxx'
{
"success": true,
"message": "Operation completed successfully",
"data": {}
}
{
"success": false,
"message": "only a pending invitation can be revoked",
"error_code": "STATE_NOT_READY"
}
撤销一条待接受的邀请 —— 邮件里的链接随即失效
DELETE /openapi/memorylake/admin/v1/invitations/{id}
revoked 状态保留在列表中作为历史记录,之后同一邮箱可以被重新邀请。
已接受的邀请无法撤销 —— 此时成员已经存在,请改为移除成员。已过期和已拒绝的邀请本身就已失效。以上情况都会返回 409。
member:invitecurl -X DELETE 'https://app.memorylake.ai/openapi/memorylake/admin/v1/invitations/88' \
-H 'Authorization: Bearer sk-xxxxxx'
{
"success": true,
"message": "Operation completed successfully",
"data": {}
}
{
"success": false,
"message": "only a pending invitation can be revoked",
"error_code": "STATE_NOT_READY"
}