Method: projects.dlpJobs.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 and to learn more.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The name of the DlpJob resource to be cancelled.

Authorization requires the following IAM permission on the specified resource name:


Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.