Deleting a public repository policy statement in Amazon ECR Public
If you no longer want an existing repository policy statement to apply to a repository, you can delete it.
To delete a repository policy statement
Open the Amazon ECR console at https://console.amazonaws.cn/ecr/repositories
. -
From the navigation bar, choose the Region that contains the repository to delete a policy statement from.
-
In the navigation pane, choose Repositories.
-
On the Repositories page, select the Public tab, and then choose the repository to delete a policy statement from.
-
In the navigation pane, choose Permissions, Edit.
-
On the Edit permissions page, choose Delete.