diff --git a/webapp/graphql/groups.js b/webapp/graphql/groups.js index cf64c21b3..bb5292675 100644 --- a/webapp/graphql/groups.js +++ b/webapp/graphql/groups.js @@ -143,6 +143,19 @@ export const changeGroupMemberRoleMutation = () => { ` } +export const removeUserFromGroupMutation = () => { + return gql` + mutation ($groupId: ID!, $userId: ID!) { + RemoveUserFromGroup(groupId: $groupId, userId: $userId) { + id + name + slug + myRoleInGroup + } + } + ` +} + // ------ queries export const groupQuery = (i18n) => {