Huỷ bỏ các thay đổi đối với các Biến tích hợp sẵn của GTM trong Không gian làm việc của GTM. Thử ngay.
Yêu cầu
Yêu cầu HTTP
POST https://www.googleapis.com/tagmanager/v2/+path/built_in_variables:revert
Tham số
Tên thông số | Giá trị | Mô tả |
---|---|---|
Tham số đường dẫn | ||
path |
string |
Đường dẫn liên quan đến API của BuildInVariable của GTM. Ví dụ: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables |
Tham số truy vấn không bắt buộc | ||
type |
string |
Loại biến được tích hợp sẵn cần huỷ bỏ.
Các giá trị được chấp nhận là:
|
Ủy quyền
Yêu cầu này cần được cho phép có phạm vi sau:
Phạm vi |
---|
https://www.googleapis.com/auth/tagmanager.edit.containers |
Để biết thêm thông tin, hãy xem trang xác thực và uỷ quyền.
Nội dung yêu cầu
Đừng cung cấp nội dung yêu cầu bằng phương thức này.
Phản hồi
Nếu thành công, phương thức này sẽ trả về nội dung phản hồi có cấu trúc như sau:
{ "enabled": boolean }
Tên tài sản | Giá trị | Mô tả | Ghi chú |
---|---|---|---|
enabled |
boolean |
Liệu biến tích hợp có được bật sau khi đảo ngược hay không. |
Hãy dùng thử!
Hãy sử dụng APIs Explorer (Trình khám phá API) bên dưới để gọi phương thức này trên dữ liệu trực tiếp và xem phản hồi.