Environments: patch

需要授權

更新 GTM 環境。這個方法支援修補語意。 立即試用

要求

HTTP 要求

PATCH https://www.googleapis.com/tagmanager/v2/path

參數

參數名稱 說明
路徑參數
path string GTM 環境的 API 相對路徑。 範例:accounts/{account_id}/containers/{container_id}/environments/{environment_id}
自選查詢參數
fingerprint string 如果提供,這個指紋必須與儲存空間中的環境指紋相符。

授權

這項要求需要下列範圍的授權 (進一步瞭解驗證和授權)。

範圍
https://www.googleapis.com/auth/tagmanager.edit.containers

要求主體

在要求主體中,請根據 Patch 語意規則提供環境資源的相關部分。

回應

如果成功,這個方法會在回應主體中傳回環境資源

試試看!

您可以使用下方的 APIs Explorer,針對即時資料呼叫這個方法,然後查看回應。