Skip to content

Delete all merged branches

DELETE
/api/v4/projects/{id}/repository/merged_branches

Deletes all branches that are merged into the default branch for a project.

id
required
One of:
string

The ID or URL-encoded path of the project

202 Accepted

Bad Request

404 Project Not Found