Method: projects.locations.repositories.packages.delete

Deletes a package and all of its versions and tags. The returned operation will complete once the package has been deleted.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the package to delete.

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

  • artifactregistry.packages.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.packages.delete

For more information, see the Cloud IAM Documentation.