This page describes how to delete Artifact Registry repositories.
Before you begin
You must have the Artifact Registry Administrator role or a role with equivalent permissions.
Before you remove a repository, ensure that any packages that you want to keep are available in another location.
To delete a repository:
Open the Repositories page in the Google Cloud console.
In the repository list, select the repository to delete.
To delete the a repository, run the following command:
gcloud artifacts repositories delete REPOSITORY \ [--location=LOCATION] [--async]
- REPOSITORY is the name of the repository.
- LOCATION is the regional or multi-regional location for the repository. You can omit this flag if you set a default.
--asyncreturns immediately, without waiting for the operation in progress to complete.
For more information about the command, run the following command:
gcloud artifacts repositories delete --help