repos-{owner}/{repo}-branches-{branch}-protection-restrictions-teams
Number of APIs: 4
-
Get teams with access to the protected branch GET {{baseUrl}}/repos/:owner/:repo/branches/:branch/protection/restrictions/teams
-
Add team access restrictions POST {{baseUrl}}/repos/:owner/:repo/branches/:branch/protection/restrictions/teams
-
Set team access restrictions PUT {{baseUrl}}/repos/:owner/:repo/branches/:branch/protection/restrictions/teams
-
Remove team access restrictions DELETE {{baseUrl}}/repos/:owner/:repo/branches/:branch/protection/restrictions/teams