CmdID / aws / aws ecr-public
aws ecr-public delete-repository-policy
Deletes the repository policy that's associated with the specified repository. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--registry-idThe Amazon Web Services account ID that's associated with the public registry that contains the repository policy to delete.--repository-nameThe name of the repository that's associated with the repository policy to delete.