Method: environments.reauthorize

全名:accounts.containers.environments.reauthorize

为 GTM 环境重新生成授权代码。

HTTP 请求

POST https://tagmanager.googleapis.com/tagmanager/v2/{path}:reauthorize

路径参数

参数
path

string

GTM 环境的 API 相对路径。其格式为 accounts/{account}/containers/{container}/environments/{environment}

请求正文

请求正文包含一个 Environment 实例。

响应正文

如果成功,则响应正文包含一个 Environment 实例。

授权范围

需要以下 OAuth 范围:

  • https://www.googleapis.com/auth/tagmanager.publish

如需了解详情,请参阅 OAuth 2.0 Overview