Deleting a Repository in Artifact Registry
Delete an empty repository in Artifact Registry.
Important
You can only delete empty repositories. Before you delete a repository, you must delete its artifacts. See Deleting an Artifact in Artifact Registry.
You can only delete empty repositories. Before you delete a repository, you must delete its artifacts. See Deleting an Artifact in Artifact Registry.
- Open the navigation menu and click Developer Services. Under Containers & Artifacts, click Artifact Registry.
- Under List scope, choose a compartment that contains the repositories.
- Click the name of the repository that you want to delete.
- Click Delete.
- When prompted for confirmation, click Delete.
To delete a repository, use the
artifacts repositoryresource, referenced in Artifact Registry CLI.Get all the commands for
artifacts repository:oci artifacts repository -hGet help for the
deletecommand:oci artifacts repository delete -hFind the options to provide for the
deletecommand:--repository-idDelete a repository:
oci artifacts repository delete --repository-id <repository-OCID>Example:
oci artifacts repository delete --repository-id ocid1.artifactrepository.oc1..xxx...Use the DeleteRepository operation to delete a repository.