Skip to content

Delete a container registry protection tag rule

DELETE
/api/v4/projects/{id}/registry/protection/tag/rules/{protection_rule_id}

Deletes a container registry protection tag rule from a project. This feature was introduced in GitLab 18.9.

id
required
One of:
string

The ID or URL-encoded path of the project.

protection_rule_id
required
integer

The ID of the container protection tag rule.

Delete a container protection tag rule

Bad Request

Unauthorized

Forbidden

Not Found