Method: projects.locations.tagTemplates.fields.delete

Deletes a field in a tag template and all uses of that field. 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 field to delete. Example:

  • projects/{project_id}/locations/{location}/tagTemplates/{tagTemplateId}/fields/{tagTemplateFieldId} It takes the form projects/{project_id}/locations/{location_id}/tagTemplates/{tagtemplate_id}/fields/{field_id}.

Query parameters

Parameters
force

boolean

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

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!