Deleting a Repository
Find out how to delete a repository from Container Registry.
There is a limit to the number of repositories that you can have in any given region in a tenancy. So when you no longer need a repository, delete it from Container Registry. Any images in a repository are deleted when you delete the repository.
Your permissions control which repositories you can delete (see Policies to Control Repository Access). You can delete repositories that you've created, and repositories that the groups to which you belong have been granted access by IAM policies. If you belong to the Administrators group, you can delete any repository in the tenancy.
When you delete a repository, it can take up to 48 hours for the deletion to take effect and for storage to be released. If you're deleting repositories to release storage, you can also contact us to obtain more storage.
The repository you deleted is permanently removed from Container Registry. It no longer appears in the Repositories and images list
Use the oci artifacts container repository delete command and required parameters to delete a repository:
oci artifacts container repository delete --repository-id <repository-ocid> [OPTIONS]
For example:
oci artifacts container repository delete --repository-id ocid1.containerrepo.oc1.us-phoenix-1.0.ansh81vru1zp.aaaaaaaaswec83o...
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the DeleteContainerRepository operation to delete a repository.