You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I thought this endpoint https://api.bitbucket.org/2.0/users/<account_id> would return
the username. However the username is not returned. I see there is a nickname returned, however that is different to the username as stated in the documentation.
Also, is there a way to get the account id given the username ?
We no longer expose user usernames in API calls as per our changes back in April 2019 to comply with GDPR and replace it with the Atlassian account name.
Please check out the announcement here.
You can use List users in a workspace endpoint that will return a list of users currently in your workplace and their UUID because we don't have an endpoint to return user UUID based on the username.
Let me know if you have any additional questions.