Skip to content

Delete a repository branch

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

Deletes a specified branch from the repository.

id
required
One of:
string

The ID or URL-encoded path of the project

branch
required
string

The name of the branch

No Content

Bad Request

Branch Not Found