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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.