Getting a Users Email List

Hello, is there a way to just get the user email, username, firstname, lastname? When I use GetUsers it returns a lot of stuff that can be a security hazard to have on an application.

That admin API method has an optional flag called briefRepresentation, which defaults to false. if you set it to true, it will limit the information returned. However, you cannot have precise control over which fields. Try it and see if it fits your use case.

https://www.keycloak.org/docs-api/18.0/rest-api/index.html#_getusers