Skip to content

Delete a container repository protection rule

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

Deletes a specified container repository protection rule.

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 rule

204 No Content

Bad Request

Unauthorized

Forbidden

Not Found