/admin/realms/admin/users does not return [UserRepresentation]

When doing a GET to /admin/realms/admin/users, I get a slim version of UserRepresentation:

[{
   "id":"2b8f5030-d197-47f9-9b3b-631b2408fd7a",
   "createdTimestamp":1623094859490,
   "username":"admin",
   "enabled":true,
   "totp":false,
   "emailVerified":false,
   "firstName":"Admin",
   "disableableCredentialTypes":[],
   "requiredActions":[],
   "notBefore":0,
   "access":{
      "manageGroupMembership":true,
      "view":true,
      "mapRoles":true,
      "impersonate":true,
      "manage":true
   }
}]

I need for instance groups to also be returned.

Any idea why this is happening?

Anyone with any ideas?

This is the representation returned by the GET /{realm}/users endpoint of the current Admin API. In order to get the user’s groups, you have to call the GET /{realm}/users/{id}/groups endpoint: Keycloak Admin REST API