Method: properties.channelGroups.delete
Xoá ChannelGroup trên một tài sản.
Yêu cầu HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/channelGroups/*}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
name |
string
Bắt buộc. ChannelGroup cần xoá. Định dạng ví dụ: properties/1234/channelGroups/5678
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ là một đối tượng JSON trống.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/analytics.edit
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-01-14 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]