The name of the repository holding all requested versions.
Request body
The request body contains data with the following structure:
JSON representation
{"names": [string],"validateOnly": boolean}
Fields
names[]
string
Required. The names of the versions to delete. The maximum number of versions deleted per batch is determined by the service and is dependent on the available resources in the region.
Authorization requires the following IAM permission on the specified resource names:
artifactregistry.versions.delete
validateOnly
boolean
If true, the request is performed without deleting data, following AIP-163.
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-13 UTC."],[[["\u003cp\u003eThis API endpoint is used to delete multiple versions from a specified repository location.\u003c/p\u003e\n"],["\u003cp\u003eThe request uses gRPC Transcoding syntax and requires specifying the repository \u003ccode\u003eparent\u003c/code\u003e path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires a JSON payload with \u003ccode\u003enames\u003c/code\u003e (an array of version names to delete, up to 10000), and an optional \u003ccode\u003evalidateOnly\u003c/code\u003e boolean to simulate deletion without actually deleting the data.\u003c/p\u003e\n"],["\u003cp\u003eA successful request returns an \u003ccode\u003eOperation\u003c/code\u003e instance, indicating that the deletion process has started, and requires \u003ccode\u003eartifactregistry.versions.delete\u003c/code\u003e IAM permissions.\u003c/p\u003e\n"],["\u003cp\u003eThe endpoint requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,[]]