---
title: "POST /v1/{+parent}/versions:batchDelete"
method: POST
path: "/v1/{+parent}/versions:batchDelete"
tags: ["projects"]
---

# POST /v1/{+parent}/versions:batchDelete

`POST /v1/{+parent}/versions:batchDelete`

Deletes multiple versions across a repository. The returned operation will complete once the versions have been deleted.

## Path parameters

- `parent` string, required

## Request body

- BatchDeleteVersionsRequest — The request to delete multiple versions across a repository.
  - `validateOnly` boolean — If true, the request is performed without deleting data, following AIP-163.
  - `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.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/artifactregistry.md) · [All operations](https://skmtc.net/google/apis/artifactregistry/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/artifactregistry/versions/ab5639c979b9/schema)
