Method: properties.keyEvents.delete
یک رویداد کلیدی را حذف می کند.
درخواست HTTP
DELETE https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/keyEvents/*}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
name | string مورد نیاز. نام منبع رویداد کلیدی برای حذف. قالب: properties/{property}/keyEvents/{keyEvent} مثال: "properties/123/keyEvents/456" |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ یک شی 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 specific Key Event using the provided resource name."],["Requires an empty request body and returns an empty response body upon success."],["Utilizes the `DELETE` method and requires authorization with the `analytics.edit` scope."],["The Key Event to be deleted is identified through the `name` path parameter, specifying the property and key event IDs."]]],["This document outlines how to delete a Key Event using an API. The core action is a `DELETE` HTTP request sent to a specific URL: `https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/keyEvents/*}`. The `name` parameter within the URL, specifying the Key Event's resource path (e.g., \"properties/123/keyEvents/456\"), is required. The request body must be empty, and a successful operation returns an empty JSON object. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope.\n"]]