Deleting a Repository in Artifact Registry
Delete an empty repository 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
oci artifacts repository -h
Get help for the
oci artifacts repository delete -h
Find the options to provide for the
Delete a repository:
oci artifacts repository delete --repository-id <repository-OCID>
oci artifacts repository delete --repository-id ocid1.artifactrepository.oc1..xxx...
Use the DeleteRepository operation to delete a repository.