unprotect_branch
Remove branch protection to allow direct pushes and merges. Use when a protected branch no longer needs safeguard restrictions.
Instructions
Remove protection from a previously protected branch. Use this to remove protection from an existing branch; use protect_branch to change access levels without removing the rule. The operation changes repository security controls, requires permission to manage protected branches, and returns the result or an error when the branch is missing or policy forbids the change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID or complete URL-encoded path to project | |
| branch_name | Yes | Name of the protected branch to unprotect |