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

Update group member role

GraphQL endpoint: /user

Changes a group member's role (MEMBER or ADMIN). Only group admins can change roles, and the last remaining admin cannot be demoted.

Query

mutation ($groupId: ID!, $userId: ID!, $role: GroupRoleType!) {
  updateGroupUserMemberRole(groupId: $groupId, userId: $userId, role: $role) {
    status
  }
}

Variables

{
  "groupId": "00000000-0000-4000-8000-000000000002",
  "role": "ADMIN",
  "userId": "00000000-0000-4000-8000-000000000001"
}

Response

Last updated