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

# POST /v1/{+parent}/pipelineJobs:batchCancel

`POST /v1/{+parent}/pipelineJobs:batchCancel`

Batch cancel PipelineJobs. Firstly the server will check if all the jobs are in non-terminal states, and skip the jobs that are already terminated. If the operation failed, none of the pipeline jobs are cancelled. The server will poll the states of all the pipeline jobs periodically to check the cancellation status. This operation will return an LRO.

## Path parameters

- `parent` string, required

## Request body

- GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest — Request message for PipelineService.BatchCancelPipelineJobs.
  - `names` string[] — Required. The names of the PipelineJobs to cancel. A maximum of 32 PipelineJobs can be cancelled in a batch. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}`

## Response `200`

Successful response

---

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