Folders: update

Updates a GTM Folder. Try it now.

Request

HTTP request

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

Parameters

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

Authorization

This request requires authorization with the following scope:

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

For more information, see the authentication and authorization page.

Request body

In the request body, supply a Folders resource with the following properties:

Property name Value Description Notes
Required Properties
name string Folder display name. writable
Optional Properties
notes string User notes on how to apply this folder in the container. writable

Response

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

Try it!

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