Method: properties.channelGroups.delete
ลบ ChannelGroup ในพร็อพเพอร์ตี้
คำขอ HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/channelGroups/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ ChannelGroup ที่จะลบ ตัวอย่างรูปแบบ: properties/1234/channelGroups/5678
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะเป็นออบเจ็กต์ JSON ว่าง
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/analytics.edit
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-01-14 UTC
[null,null,["อัปเดตล่าสุด 2025-01-14 UTC"],[[["Deletes a specified ChannelGroup associated with a Google Analytics 4 property."],["Requires the `analytics.edit` OAuth scope for authorization."],["Uses an HTTP DELETE request with the ChannelGroup's resource name in the URL path."],["The request body should be empty, and a successful deletion results in an empty response body."]]],["This document details the process of deleting a ChannelGroup within a property using an HTTP DELETE request. The request targets a specific ChannelGroup via its `name` path parameter in the URL (e.g., `properties/1234/channelGroups/5678`). The request body must be empty. A successful deletion is confirmed by an empty JSON object in the response body. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope. The method uses gRPC Transcoding.\n"]]