Forums

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

Can we manage repository permissions in bitbucket using API?

Shruthi Krishnan
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!
July 15, 2021

I don't find API 2 POST method to manage repository permissions.

1 answer

0 votes
Caroline R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 20, 2021

Hi, @Shruthi Krishnan! Welcome to the community! 

Just to give you some context, our old rest API 1.0 use to include endpoints that would allow these sorts of operations, however, the 1.0 API has been deprecated with the intent that the 2.0 API would be a direct replacement. 

With that said, there are a few old 1.0 endpoints that we kept in place as a temporary solution until the 2.0 replacements are made available.

Until the Atlassian platform services are fully available in Bitbucket, we will continue to support these 1.0 REST endpoints: 

/1.0/groups
/1.0/group-privileges
/1.0/invitations
/1.0/users/{accountname}/invitations

You can find all the information about these endpoints here: 

I hope this helps, but please let me know if you have any questions. 

Kind regards,
Caroline

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events