Method: projects.locations.repositories.delete

Deletes a repository and all of its contents. The returned Operation will finish once the repository has been deleted. It will not have any Operation metadata and will return a google.protobuf.Empty response.

HTTP request

DELETE https://artifactregistry.googleapis.com/v1beta1/{name=projects/*/locations/*/repositories/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the repository to delete.

Authorization requires the following IAM permission on the specified resource name:

  • artifactregistry.repositories.delete

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following Cloud IAM permission on the name resource:

  • artifactregistry.repositories.delete

For more information, see the Cloud IAM Documentation.