delete_branch
Delete a branch from a GitLab project repository while blocking accidental deletion of the default branch.
Instructions
Delete a branch from a project repository (blocks accidental deletion of default branch)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | Name of the branch to delete | |
| project_id | Yes | Project numeric ID (e.g. 31) or namespace path (e.g. 'group/project-name'). URL-encoding is handled automatically. |