Method: projects.inspectTemplates.delete

Deletes an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

HTTP request

DELETE https://dlp.googleapis.com/v2/{name=projects/*/inspectTemplates/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Resource name of the organization and inspectTemplate to be deleted, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.

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

  • dlp.inspectTemplates.delete

Request body

The request body must be empty.

Response body

If successful, the response body will be empty.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

Try it!

Was this page helpful? Let us know how we did:

Send feedback about...

Data Loss Prevention API