Google Analytics के लिए, एमसीपी सर्वर आज़माएं. इसे
GitHub से इंस्टॉल करें. साथ ही, ज़्यादा जानकारी के लिए
सूचना देखें.
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Method: accounts.delete
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टारगेट खाते को 'मिटाया गया' (जैसे: "ट्रैश में डाला गया") के तौर पर मार्क करता है और उसे वापस लाता है.
इस एपीआई में, मिटाए गए खातों को वापस लाने का कोई तरीका नहीं है. हालांकि, उन्हें ट्रैश कैन यूज़र इंटरफ़ेस (यूआई) का इस्तेमाल करके वापस लाया जा सकता है.
अगर खातों को समयसीमा खत्म होने से पहले वापस नहीं लाया जाता है, तो खाता और सभी चाइल्ड रिसॉर्स (जैसे: प्रॉपर्टी, GoogleAdsLinks, स्ट्रीम, AccessBindings) हमेशा के लिए मिटा दिए जाएंगे. https://support.google.com/analytics/answer/6154772
टारगेट न मिलने पर, गड़बड़ी का मैसेज दिखाता है.
एचटीटीपी अनुरोध
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=accounts/*}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
| पैरामीटर |
name |
string
ज़रूरी है. उस खाते का नाम जिसे सॉफ़्ट-मिट किया जाना है. फ़ॉर्मैट: accounts/{account} उदाहरण: "accounts/100"
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
अगर एपीआई सही से जुड़ जाता है, तो रिस्पॉन्स बॉडी में खाली JSON ऑब्जेक्ट होता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/analytics.edit
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[],["This API endpoint soft-deletes an account via a `DELETE` request to `https://analyticsadmin.googleapis.com/v1alpha/{name=accounts/*}`, where `name` is the account identifier (e.g., \"accounts/100\"). The request body must be empty. A successful operation returns an empty JSON object, and the action requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope. Soft-deleted accounts are recoverable via the Trash Can UI but will be permanently purged after an expiration period if not restored. The API does not contain a method to restore an account. An error will be returned if the account is not found.\n"]]