Deleting a Repository Policy Statement
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 ECS console at https://console.aws.amazon.com/ecs/.
From the navigation bar, choose the region that contains the repository to delete a policy statement from.
Amazon ECR is available in the following regions:
Region Name Region US East (N. Virginia) us-east-1 US East (Ohio) us-east-2 US West (N. California) us-west-1 US West (Oregon) us-west-2 EU (Ireland) eu-west-1 EU (London) eu-west-2 EU (Frankfurt) eu-central-1 Asia Pacific (Tokyo) ap-northeast-1 Asia Pacific (Singapore) ap-southeast-1 Asia Pacific (Sydney) ap-southeast-2 Canada (Central) ca-central-1
In the navigation pane, choose Repositories.
On the Repositories page, choose the repository to delete a policy statement from.
On the All repositories :
repository_namepage, choose the Permissions tab.
In the Permission statements list, expand the policy statement to delete and choose Remove at the bottom of the expanded statement.