how can I check if this current user belongs to the specific group? Can pass query to the group API something like that:
about 4 years ago
Hi Kath, we currently do not support the type of query you are describing, and only support retrieving a group based on its ID. You could perform a membership check either by retrieving the group using the client and manually iterating over its members, or creating a custom endpoint which accepts a user ID and a group ID, retrieves the group, and checks whether the user is a member.