- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Examples
- Try it!
Deletes a version and all of its content. The returned operation will complete once the version has been deleted.
HTTP request
DELETE https://artifactregistry.googleapis.com/v1/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
The name of the version to delete. Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
force |
By default, a version that is tagged may not be deleted. If force=true, the version and any tags pointing to the version are deleted. |
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.