- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Full name: accounts.containers.destinations.link
Adds a Destination to this Container and removes it from the Container to which it is currently linked.
HTTP request
POST https://tagmanager.googleapis.com/tagmanager/v2/{parent}/destinations:link
Path parameters
Parameters | |
---|---|
parent |
GTM parent Container's API relative path. It takes the form |
Query parameters
Parameters | |
---|---|
destinationId |
Destination ID to be linked to the current container. |
allowUserPermissionFeatureUpdate |
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. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Destination
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/tagmanager.edit.containers
For more information, see the OAuth 2.0 Overview.