bb_delete_branch
Delete a specified branch from a Bitbucket repository, while protecting the default branch from removal. Provide project key, repo slug, and branch name to remove it.
Instructions
Delete a branch from a repository. Refuses to delete the default branch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | Branch name to delete | |
| repoSlug | Yes | ||
| projectKey | Yes |