GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → deleteApiV4ProjectsIdProtectedBranchesName

AI-generated

Summary

Delete a protected branch by specifying the project ID (or URL-encoded path) and the protected branch name.

Inputs

  • Id (required) — The ID or URL-encoded path of the project from which to delete the protected branch.
  • Name (required) — The name of the protected branch to delete.
  • Skip Authentication — Optionally skip authentication for this request (default is false).
  • baseUrl — Base URL of the GitLab instance, defaults to https://gitlab.com.

Output shape

no body — success/failure only

The operation returns no body on success; failure responses will indicate errors. Requires authentication unless Skip Authentication is enabled.

Links

Discussion