Method: projects.locations.tagTemplates.delete

Deletes a tag template and all tags that use it.

You must enable the Data Catalog API in the project identified by the name parameter. For more information, see Data Catalog resource project.

HTTP request

DELETE https://datacatalog.googleapis.com/v1/{name}

Path parameters

Parameters
name

string

Required. The name of the tag template to delete. It takes the form projects/{project}/locations/{location}/tagTemplates/{tagtemplate}.

Query parameters

Parameters
force

boolean

Required. If true, deletes all tags that use this template.

Currently, true is the only supported value.

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.