GitLab API

GitlabTool

Actions1095

Projects → deleteApiV4ProjectsIdRegistryProtectionRepositoryRulesProtectionRuleId

AI-generated

Summary

Delete a container registry repository protection rule from a specific GitLab project by its project ID or URL-encoded path and protection rule ID.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project from which to delete the protection rule.
  • protection_rule_id (required) — The ID of the container repository protection rule to delete.
  • skipAuthentication — Optionally skip authentication if set to true.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.

Output shape

no body — success/failure only

This operation performs an HTTP DELETE request to the GitLab API endpoint and does not return a response body; success or failure is indicated via HTTP status.

Links

Discussion