GitLab API icon

GitLab API

Gitlab

Actions1062

Branches → deleteApiV4ProjectsIdRepositoryMergedBranches

AI-generated

Summary

Delete all merged branches in the repository of a specified GitLab project.

Inputs

  • Id (required) — The ID or URL-encoded path of the GitLab project whose merged branches you want to delete.
  • Skip Authentication — Optional flag to bypass authentication; defaults to false.

Output shape

no body — success/failure only

This operation performs an HTTP DELETE request to GitLab's API endpoint /api/v4/projects/{id}/repository/merged_branches. It returns no response body, only indicating success or failure of the deletion action.

Links

Discussion