Method: templates.delete

Full name: accounts.containers.workspaces.templates.delete

Deletes a GTM Template.

HTTP request

DELETE https://tagmanager.googleapis.com/tagmanager/v2/{path}

Path parameters

Parameters
path

string

GTM Custom Template's API relative path. It takes the form accounts/{account}/containers/{container}/workspaces/{workspace}/templates/{template}.

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/tagmanager.edit.containers

For more information, see the OAuth 2.0 Overview.