---
title: "POST /v2/{+name}:cancel"
method: POST
path: "/v2/{+name}:cancel"
tags: ["projects"]
---

# POST /v2/{+name}:cancel

`POST /v2/{+name}:cancel`

Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.

## Path parameters

- `name` string, required

## Request body

- GooglePrivacyDlpV2CancelDlpJobRequest — The request message for canceling a DLP job.

## Response `200`

Successful response

---

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