- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Full name: accounts.containers.workspaces.folders.move_entities_to_folder
Moves entities to a GTM Folder. If {folderId} in the request path equals 0, this will instead move entities out of the folder they currently belong to.
HTTP request
POST https://tagmanager.googleapis.com/tagmanager/v2/{path}:move_entities_to_folder
Path parameters
Parameters | |
---|---|
path |
GTM Folder's API relative path. It takes the form |
Query parameters
Parameters | |
---|---|
tagId[] |
The tags to be moved to the folder. |
variableId[] |
The variables to be moved to the folder. |
triggerId[] |
The triggers to be moved to the folder. |
Request body
The request body contains an instance of Folder
.
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/tagmanager.edit.containers
For more information, see the OAuth 2.0 Overview.