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

Can we manage repository permissions in bitbucket using API? Edited

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

1 answer

0 votes
Caroline R Atlassian Team Jul 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
Community showcase
Posted in Bitbucket

How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...

139 views 0 2
Join discussion

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