GitLab API

GitlabTool

Actions1095

Projects → deleteApiV4ProjectsIdPackagesProtectionRulesPackageProtectionRuleId

AI-generated

Summary

Delete a specific package protection rule from a given GitLab project by specifying the project ID (or URL-encoded path) and the package protection rule ID.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project from which the package protection rule will be deleted.
  • package_protection_rule_id (required) — The ID of the package protection rule to delete within the specified project.
  • skipAuthentication — Optional boolean to skip authentication; defaults to false, meaning authentication is used.
  • baseUrl — Base URL for the GitLab instance; defaults to https://gitlab.com.

Output shape

no body — success/failure only

The operation performs an HTTP DELETE request to remove the specified package protection rule. It returns no content on success; errors or failures are indicated via the node's error handling.

Links

Discussion