I want all the users but filtered by User Group:
query getAllUsers {
users {
id,
username
}
}
I cannot see any query parameter on the Schema
This is not possible on Craft 3.3.x
but group
and groupId
have been added since 3.4.0-beta.5
(commit)
With the update, you can do:
query getAllUsers{
users(groupId:1) {
id,
username
}
}
Or:
query getAllUsers{
users(group:"groupHandle") {
id,
username
}
}