Delete branch
delete_branchDelete a Git branch in Azure DevOps only when it still points to the specified commit, preventing accidental removal of updated branches.
Instructions
Delete a branch only if it still points at the exact expected commit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true to perform the mutation. | |
| project | No | ||
| branchName | Yes | ||
| repositoryId | Yes | ||
| expectedObjectId | Yes |