Method: transformations.revert

完整名稱:accounts.containers.workspaces.transformations.revert

將 GTM 工作室中 GTM 轉換的變更還原。

HTTP 要求

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

路徑參數

參數
path

string

GTM 轉換的 API 相對路徑。其格式為 accounts/{account}/containers/{container}/workspaces/{workspace}/transformations/{transformation}

查詢參數

參數
fingerprint

string

提供此指紋時,該指紋必須與儲存空間中轉換作業的指紋相符。

要求主體

要求主體必須為空白。

回應主體

在工作區中還原轉換的結果。

如果成功,回應主體會含有以下結構的資料:

JSON 表示法
{
  "transformation": {
    object (Transformation)
  }
}
欄位
transformation

object (Transformation)

自上次工作區同步作業以來,轉換作業在最新容器版本中的顯示方式。如果沒有轉換,表示轉換已從最新的容器版本中刪除。

授權範圍

需要下列 OAuth 範圍:

  • https://www.googleapis.com/auth/tagmanager.edit.containers

詳情請參閱 OAuth 2.0 Overview