Moves entities to a GTM Folder. If {folder_id} in the request path equals 0, this will instead move entities out of the folder they currently belong to. Try it now.
Request
HTTP request
POST https://www.googleapis.com/tagmanager/v2/+path:move_entities_to_folder
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 | ||
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:
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.
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.