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

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 Leaders.
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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events