Method: properties.channelGroups.delete
یک ChannelGroup را در یک ویژگی حذف می کند.
درخواست HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/channelGroups/*}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
name | string مورد نیاز. ChannelGroup برای حذف. فرمت مثال: properties/1234/channelGroups/5678 |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ یک شی JSON خالی است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/analytics.edit
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-14 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-14 بهوقت ساعت هماهنگ جهانی."],[[["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"]]