Update branch protection

Update an existing branch protection rule.

Endpoints

PUT /api/v1/teams/{team_slug}/repos/{repo_slug}/protections/{uuid}
PUT /api/v1/users/{username}/repos/{repo_slug}/protections/{uuid}
Authenticated

Success

Returns JSON response.