Method: properties.dataStreams.measurementProtocolSecrets.delete
هدف MeasurementProtocolSecret را حذف می کند.
درخواست HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
name | string مورد نیاز. نام MeasurementProtocolSecret برای حذف. قالب: خواص/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ یک شی 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 the specified Measurement Protocol Secret, requiring an empty request body."],["Uses the HTTP DELETE method with a URL containing the resource name of the Measurement Protocol Secret."],["Needs authorization with the `https://www.googleapis.com/auth/analytics.edit` scope."],["Upon successful deletion, an empty response body is returned."]]],["This document details the process of deleting a MeasurementProtocolSecret via an HTTP DELETE request. The target is specified through the `name` path parameter, following the format: `properties/*/dataStreams/*/measurementProtocolSecrets/*`. The request body must be empty. A successful deletion returns an empty JSON object. The request requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization. The document also indicates the utilization of gRPC Transcoding syntax within the request URL.\n"]]