Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there an API to view all accesses granted for a user in a team?

Hau Tran
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 28, 2019

Hi,

I'm looking for whether there is any public API (v1.0 or v2.0) which has the same capability of Bitbucket web's "View access".

I'm an admin in our company's Bitbucket Cloud. When I go to the page `https://bitbucket.org/account/user/:team_uuid:/plan-users/`, clicking on "View access" link on each user, I can see all accesses granted to him/her.

By inspecting the network, I know that this API was called:

```
https://bitbucket.org/!api/internal/user/:team_uuid:/access/:user_uuid:
```

The response is a JSON payload 

```
{

   "groups" : [],

   "groups_not_owned" : [],

   "repos": []
}
```

I tried to call this API using the `Bearer access_token` and I got

```
403 Forbidden

This endpoint does not support token-based authentication
```

Thanks!
Hau Tran

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events