Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi,
I want to get the list of all the users in my organization using BitBucket API? All I can find on the internet is by using the teams.
"https://api.bitbucket.org/2.0/teams/${org}/members"
Since it's deprecated, I am not sure how I can get the list of users and personal repos they created using the organization ID.
I don't want to list the users in the specific workspace. I want to get information about personal settings for users (like ID not nickname, profile visibility, any public repo, etc).
Hi Pramod,
Sorry, I think I should have framed my question better. I can get who the members are for a specific workspace, that's not my requirement. What I am looking for is to know whether people are creating any private/personal repos (not part of any workspace) within the organization. And if so, is there anything that is publically accessible.
I think I can list all the publicly accessible repo (be it in the workspace or in their private account) using https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-get. Is there a way for me to know whether any snippets are public or not?
Just to be clear, when I say private/personal, I only mean repos they have created using the company's ID.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the Community!!
Here's the API to get the Users for Workspace
List users for a workspace
User Membership for a workspace
Thanks,
Pramodh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't want to list the users in the specific workspace. I want to get information about personal settings for users (like ID not nickname, profile visibility, any public repo, etc).
The above is not possible yet with Bitbucket
It's possible with Atlassian Access (For a managed account)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please elaborate a bit on this as this is what I think I want.
Also if possible, can you please go through my previous comment where I explained my requirement a little better, maybe that would help you understand my requirements.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.