repos-{owner}/{repo}-branches-{branch}-protection-restrictions-teams

Number of APIs: 4

  1. Get teams with access to the protected branch GET {{baseUrl}}/repos/:owner/:repo/branches/:branch/protection/restrictions/teams

  2. Add team access restrictions POST {{baseUrl}}/repos/:owner/:repo/branches/:branch/protection/restrictions/teams

  3. Set team access restrictions PUT {{baseUrl}}/repos/:owner/:repo/branches/:branch/protection/restrictions/teams

  4. Remove team access restrictions DELETE {{baseUrl}}/repos/:owner/:repo/branches/:branch/protection/restrictions/teams