I'm trying to setup branch permissions via the API and would like to remove the ability to write to the branch for everyone, aside from a single group of users. However, I can't seem to figure out how to tell the API NOT to give write permissions to "Everyone".
I figured if I simply didn't give a list of users, it would work, but no. This is the call I attempted:
{ "kind": "delete", "branch_match_kind": "branching_model", "branch_type": "release", "pattern": ""}I also tried the following:
{ "kind": "delete", "branch_match_kind": "branching_model", "branch_type": "release", "pattern": "", "users": [], "groups": []}Documentation is pretty useless in helping me figure out how to do this.
In summary: how would I remove the ability for users to write to a branch via the API?