2025-03-12
▼ ▲ tagmanager.accounts.containers.workspaces.templates.import_from_gallery
Path : tagmanager/v2/{+parent}/templates:import_from_gallery
Flat Path : tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates:import_from_gallery
HTTP Method : POST
Parameters :
parent
Description : GTM Workspace's API relative path.
Pattern : ^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$
Location : path
Required : Yes
Type : string
galleryOwner
Description : Owner of the Gallery template to import
Location : query
Type : string
galleryRepository
Description : Repository of the Gallery template to import
Location : query
Type : string
gallerySha
Description : SHA version of the Gallery template to import. Defaulted to the latest SHA version if not provided.
Location : query
Type : string
acknowledgePermissions
Description : Must be set to true to allow Gallery template to be imported into the workspace. If this bit is false, the import operation will fail.
Location : query
Type : boolean
Parameter Order : parent
Scopes : https://www.googleapis.com/auth/tagmanager.edit.containers
Description : Imports a GTM Custom Template from Gallery.