Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,366,634
Community Members
 
Community Events
168
Community Groups

How to get the UUID of a user in Bitbucket Cloud

Greetings

I wanted to know, How to get the UUID of a given user in Bitbucket cloud using REST API call? 

The use case is, I want to remove a user from a group where uuid is required. The API call is as follows - Taken from the Atlassian documentation.

https://support.atlassian.com/bitbucket-cloud/docs/groups-endpoint/

curl --request DELETE --user <username>:<API Token> https://api.bitbucket.org/1.0/groups/<workspace>/{group}/members/{uuid}

 

Thanks !

1 answer

0 votes

Hi @Kota Sreenivasa Shravana Kumar ,

You can retrieve a list of all users that have access to a certain workspace (that you are an admin of) and the UUID for each one using this endpoint:

Please feel free to let me know if you have any questions.

Kind regards,
Theodora

Hi @theod

I have tried to hit the above mentioned URL:

example: 

Like this, I have hit in the browser bit it was opening this

link https://developer.atlassian.com/cloud/bitbucket/rest/intro/#authentication

Can you help me on this, how to get the logs using API.

 

Cheers

Satish Kayam

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events