Is there a way to get all of the users and groups in Bitbucket org using RestAPI version 2?
There is a /members endpoint but it doesn't return the user's email address, only the name and display name and uuid. And the /users/{select_user} endpoint doesn't return email address either and it requires the user id which the response from /members endpoint doesn't contain.
I see that /groups endpoint in version 1 and it returns the groups but version 1 is not supported and this endpoint is not supported in version 2.