I want to find out email addresses of users in my team, I can get their usernames but unable to get the email addresses. I have admin rights on all my teams.
I have tried the below URL but I get 403 Forbidden error. https://confluence.atlassian.com/bitbucket/emails-resource-296911737.html
One cannot access the email addresses of other users on Bitbucket. Email addresses are considered somewhat private.
That (deprecated) endpoint is used to retrieve you own address (in which case the username can be omitted from the URL), or the email address registered on a team account that you are an admin of.
Note that the latter is no longer applicable, as we dropped the ability for team accounts to have email addresses.
To contact a team's admins, you can send a message to the team, which Bitbucket will relay to all admins. Messages can be sent through the INBOX page.
Note that the non-deprecated way to access the current user's email addresses is: https://api.bitbucket.org/2.0/user/emails
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With