Method: properties.keyEvents.delete
एचटीटीपी अनुरोध
DELETE https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/keyEvents/*}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
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 और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-01-14 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-01-14 (UTC) को अपडेट किया गया."],[[["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"]]