Leave the current team
DELETE
/v1/tenants/current/memberships/meEnds the caller's own membership of the current team, revokes its tokens and moves its sessions to another team. Browser session only (a token cannot end its owner's membership). The last Owner cannot leave: 409 LAST_OWNER_PROTECTION.
curl -X DELETE 'https://api.embodiflow.io/v1/tenants/current/memberships/me' \
-H "Authorization: Bearer $EMBODIFLOW_PAT"认证
每个请求都需要携带个人访问令牌(PAT)。
- Authorization: Bearer PAT
响应
Success
- dataobject必填
- removedboolean必填可选值true
- metaobject必填
- requestIdstring必填
响应示例
{
"data": {
"removed": true
},
"meta": {
"requestId": "string"
}
}服务器https://api.embodiflow.io/v1