The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Setting up branch permissions with BitBucket Cloud

Sudhakar Padavala
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!
May 3, 2019

We are using BitBucket cloud and we have multiple repos and multiple branches per repo. I want to set the branch permissions using REST APIs as manual configuration is going to be tedious and error prone. Appreciate if you can point me to any references to sample calls if it is supported

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
rahuldanwade
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 3, 2019

Hi Sudhakar,

You can find the documentation for branch permission here

Please note that the API is called as "Ref restriction"

You may browse through example by searching "Example request representations" on the page.

Hope it works!!

Thanks

Rahul

TAGS
AUG Leaders

Atlassian Community Events