需要授權
更新 GTM 資料夾。 立即試用。
要求
HTTP 要求
PUT https://www.googleapis.com/tagmanager/v1/accounts/accountId/containers/containerId/folders/folderId
參數
參數名稱 | 值 | 說明 |
---|---|---|
路徑參數 | ||
accountId |
string |
GTM 帳戶 ID。 |
containerId |
string |
GTM 容器 ID。 |
folderId |
string |
GTM 資料夾 ID。 |
自選查詢參數 | ||
fingerprint |
string |
如果提供這個指紋,這個指紋必須與儲存空間中的資料夾指紋相符。 |
授權
這項要求需要下列範圍的授權 (進一步瞭解驗證和授權)。
範圍 |
---|
https://www.googleapis.com/auth/tagmanager.edit.containers |
要求主體
在要求內文中,提供資料夾資源並附上以下屬性:
資源名稱 | 值 | 說明 | 附註 |
---|---|---|---|
必要屬性 | |||
name |
string |
資料夾顯示名稱。 | 可寫入 |
回應
如果成功,這個方法會在回應主體中傳回資料夾資源。
試試看!
您可以使用下方的 APIs Explorer,針對即時資料呼叫這個方法,然後查看回應。