REST api to change the "Long living branches pattern"?

I noticed that the default value for the “Long living branches pattern” isn’t quite right for our projects, and we have dozens of them. I’d really like to find a REST api process for changing this. I briefly browsed through the api pages, but I didn’t see an obvious way to do this. Can someone point me in the right direction?


use POST api/settings/set, needs admin permissions.


Without component parameter = optional it will set the global setting.


1 Like

Thanks. I will try to ensure I don’t call that without the component parameter.