branches

Delete a repository branch

Deletes a specified branch from the repository.

delete/api/v4/projects/{id}/repository/branches/{branch}

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of the project

branchstring required

The name of the branch

Response

Delete a repository branch

Changes

No recorded changes to this operation across all 5 revisions of this API.