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.
G'day, @Nan_Zhang
Welcome to the community!
Our API endpoint doesn't return user email addresses, but you can export the list from your workspace > User directory.
We have an existing feature request to add an email address in the API response; please Vote and Watch them to receive an update at:
https://jira.atlassian.com/browse/BCLOUD-22643
Regards,
Syahrul
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.