Ability to update access levels from Protected Branch API

What

  • PUT endpoint on protected branch API
  • Alternatively a new API for protected branches access levels, so that they can be set per user/group individually

Why

It is not currently possible to update protected branch settings through the API without first unprotecting it. This is partly because CE and EE differ because EE allows access levels to be set per user/group.

Related