Skip to content

Add Delete merged branches api #312

@philippe-granet

Description

@philippe-granet

https://docs.gitlab.com/ce/api/branches.html#delete-merged-branches
Will delete all branches that are merged into the project’s default branch.

DELETE /projects/:id/repository/merged_branches

curl --request DELETE --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/projects/5/repository/merged_branches

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions