Method: properties.dataStreams.delete
یک DataStream را در یک ویژگی حذف می کند.
درخواست HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
name | string مورد نیاز. نام DataStream برای حذف. فرمت مثال: properties/1234/dataStreams/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 DataStream associated with a Google Analytics 4 property."],["Requires providing the DataStream name in the URL path using the format: `properties/{property_id}/dataStreams/{stream_id}`."],["Uses an HTTP DELETE request with an empty body and returns an empty response upon successful deletion."],["Needs authorization with the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document details the process of deleting a DataStream using a DELETE HTTP request. The request is sent to a specific URL, structured with gRPC Transcoding syntax, requiring a `name` path parameter that identifies the DataStream (e.g., `properties/1234/dataStreams/5678`). The request body must be empty. A successful deletion returns an empty JSON object in the response body. The process requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization.\n"]]