Note: This developer site is moving to developers.google.com/tag-platform and will be redirected by September 30, 2021

Folders.move_folders: update

Requires authorization

Moves entities to a GTM Folder. Try it now.

Request

HTTP request

PUT https://www.googleapis.com/tagmanager/v1/accounts/accountId/containers/containerId/move_folders/folderId

Parameters

Parameter name Value Description
Path parameters
accountId string The GTM Account ID.
containerId string The GTM Container ID.
folderId string The GTM Folder ID.
Optional query parameters
tagId string The tags to be moved to the folder.
triggerId string The triggers to be moved to the folder.
variableId string The variables to be moved to the folder.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

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

Request body

In the request body, supply data with the following structure:

{
  "accountId": string,
  "containerId": string,
  "folderId": string,
  "name": string,
  "fingerprint": string
}
Property name Value Description Notes
accountId string GTM Account ID.
containerId string GTM Container ID.
folderId string The Folder ID uniquely identifies the GTM Folder.
name string Folder display name. writable
fingerprint string The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.

Response

If successful, this method returns an empty response body.

Try it!

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