I don't find API 2 POST method to manage repository permissions.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.