Why doesn't the 'systemusers' API does not include user group information, and is there an alternative?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ04-08-2025 06:48 AM
I'm using the /systemusers API to fetch user data, but I noticed there's no attribute that shows which user groups a user belongs to. Is there a reason why group membership isn't included in the response? Also, is there an alternative API call to fetch users along with their group details more efficiently?
- Labels:
-
Users and Groups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ04-08-2025 04:53 PM
hey there,
hopefully i partially answered this in my other reply, but you can use https://console.jumpcloud.com/api/v2/users/{user_id}/memberof to get the user's group membership
you can use https://console.jumpcloud.com/api/v2/usergroups/{group_id}/members to modify a user group's membership

