Folders: move_entities_to_folder

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.


HTTP request



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.


This request requires authorization with the following scope:


For more information, see the authentication and authorization page.

Request body

In the request body, supply a Folders resource.


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.