Folders.move_folders: update

需要授权

将实体移到 GTM 文件夹。立即试用

请求

HTTP 请求

PUT https://www.googleapis.com/tagmanager/v1/accounts/accountId/containers/containerId/move_folders/folderId

参数

参数名称 说明
路径参数
accountId string GTM 帐号 ID。
containerId string GTM 容器 ID。
folderId string GTM 文件夹 ID。
可选的查询参数
tagId string 要移动到文件夹的代码。
triggerId string 要移动到文件夹的触发器。
variableId string 要移动到文件夹的变量。

授权

此请求需要获得下列范围的授权(详细了解身份验证和授权)。

范围
https://www.googleapis.com/auth/tagmanager.edit.containers

请求正文

在请求正文中,请按以下结构提供数据:

{
  "accountId": string,
  "containerId": string,
  "folderId": string,
  "name": string,
  "fingerprint": string
}
属性名称 说明 备注
accountId string GTM 账号 ID。
containerId string GTM 容器 ID。
folderId string 唯一标识 GTM 文件夹的文件夹 ID。
name string 文件夹的显示名称。 可写
fingerprint string GTM 文件夹的指纹,以存储时计算的值为准。每当修改文件夹时,都会重新计算此值。

响应

如果成功,此方法将返回空的响应正文。

试试看!

请使用下面的 API Explorer 对实时数据调用此方法并查看响应。