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