GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → deleteApiV4ProjectsIdRegistryProtectionRepositoryRulesProtectionRuleId

AI-generated

Summary

Delete a specific container registry repository protection rule from a GitLab project by 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 you want to remove the container registry protection rule.
  • protection_rule_id (required) — The ID of the container registry repository protection rule to delete.
  • skipAuthentication — Optional boolean to skip authentication; if false or omitted, authentication via GitLab API credentials is used.
  • baseUrl — Base URL of the GitLab instance, defaults to https://gitlab.com.

Output shape

no body — success/failure only

Operation performs an HTTP DELETE request and returns no response body; success is indicated by HTTP status code.

Links

Discussion