Commit 1e64882d authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'grapify-branch-api' into 'master'

Grapify last endpoint of the branches API

See merge request !8755
parents 448321a4 4f17fc80
......@@ -129,12 +129,7 @@ module API
end
end
# Delete all merged branches
#
# Parameters:
# id (required) - The ID of a project
# Example Request:
# DELETE /projects/:id/repository/branches/delete_merged
desc 'Delete all merged branches'
delete ":id/repository/merged_branches" do
DeleteMergedBranchesService.new(user_project, current_user).async_execute
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment