Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

API 2.0: Could not retrieve Bitbucket username by email address anymore?

I always using Users API endpoint as below to get the Bitbucket public user information such as display name, username...

https://api.bitbucket.org/2.0/users/dung.trantien@abc.com

But I figured out that this endpoint is no longer existing, so is there any alternative way to retrieve at least Bitbucket username from email address?

Any help is greatly appreciated

1 answer

1 vote

Hello @Tran Tien dung ,

The endpoint still exists but it indeed doesn't support email resolution anymore – due to the GDPR regulations. You can use Atlassian ID or user UUID (in curly braces) instead.

Hope this helps.

Cheers,
Daniil

Thanks @Daniil Penkin 

Well, if I know username, I don't need to use this endpoint. 

My bottom line that when someone in my organization leave, I can lookup their bitbucket usersname by email address, then delete this user in "Users on plan".

Could you consider to open this feature?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,757 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you