Thanks for previewing Google's new tag platform documentation! This site is in public beta. (Feedback)

Templates: patch

Stay organized with collections Save and categorize content based on your preferences.

Updates a GTM Template. This method supports patch semantics. Try it now.

Request

HTTP request

PATCH https://www.googleapis.com/tagmanager/v2/path

Parameters

Parameter name Value Description
Path parameters
path string GTM Custom Template's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}
Optional query parameters
fingerprint string When provided, this fingerprint must match the fingerprint of the templates in storage.

Request body

In the request body, supply the relevant portions of a Templates resource, according to the rules of patch semantics.

Response

If successful, this method returns a Templates resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.