POST https://www.googleapis.com/tagmanager/v2/+path:combine
Parameters
Parameter name
Value
Description
Path parameters
path
string
GTM Container's API relative path.
Example: accounts/{account_id}/containers/{container_id}
Optional query parameters
allowUserPermissionFeatureUpdate
boolean
Must be set to true to allow features.user_permissions to change from false
to true. If this operation causes an update but this bit is false, the
operation will fail.
containerId
string
ID of container that will be merged into the current container.
settingSource
string
Specify the source of config setting after combine
Acceptable values are:
"current"
"other"
"settingSourceUnspecified"
Authorization
This request requires authorization with the following scope:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["Combines two Google Tag Manager containers, merging one into the current container, requiring authorization with the `tagmanager.edit.containers` scope."],["The request is sent as a POST to the `https://www.googleapis.com/tagmanager/v2/+path:combine` endpoint, specifying the container paths and optional parameters for user permissions and setting source."],["You can specify which container's settings to prioritize after the merge using the `settingSource` parameter with options like `current`, `other`, or `settingSourceUnspecified`."],["It's crucial to set `allowUserPermissionFeatureUpdate` to true if the operation might change `features.user_permissions` from false to true, otherwise, the operation will fail."],["A successful response returns a Containers resource, providing information about the updated container after the merge."]]],[]]