For the complete documentation index, see llms.txt. This page is also available as Markdown.

Leave Group

GraphQL endpoint: /user

Removes the calling user's own membership from a group they belong to. The last remaining admin of a group cannot leave it.

Query

mutation ($groupId: ID!) {
  leaveGroup(groupId: $groupId) {
    status
  }
}

Variables

{
  "groupId": "00000000-0000-4000-8000-000000000001"
}

Response

{
  "data": {
    "leaveGroup": {
      "status": "OK"
    }
  }
}

Last updated