Method: projects.locations.tagTemplates.delete

Deletes a tag template and all tags using the template. Users should enable the Data Catalog API in the project identified by the name parameter (see Data Catalog Resource Project for more information).

HTTP request

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

Path parameters

Parameters
name

string

Required. The name of the tag template to delete. Example:

  • projects/{projectId}/locations/{location}/tagTemplates/{tagTemplateId} It takes the form projects/{project}/locations/{location}/tagTemplates/{tagtemplate}.

Query parameters

Parameters
force

boolean

Required. Currently, this field must always be set to true. This confirms the deletion of any possible tags using this template. force = false will be supported in the future.

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.