अनुरोध को डोमेन एडमिन के तौर पर जारी करें. अगर इस नीति को 'सही है' पर सेट किया जाता है, तो अनुरोध करने वाले व्यक्ति को ऐक्सेस तब दिया जाता है, जब वह 'शेयर की गई ड्राइव' के डोमेन का एडमिन हो.
allowItemDeletion
boolean
शेयर की गई ड्राइव में मौजूद किसी आइटम को भी मिटाया जाना चाहिए या नहीं. यह विकल्प सिर्फ़ तब काम करता है, जब useDomainAdminAccess को true पर भी सेट किया गया हो.
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब का मुख्य हिस्सा खाली रहता है.
अनुमति देने के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/drive
कुछ दायरे सीमित हैं. इनका इस्तेमाल करने के लिए, सुरक्षा जांच की ज़रूरत होती है. ज़्यादा जानकारी के लिए, अनुमति देने से जुड़ी गाइड देखें.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-09-04 (UTC) को अपडेट किया गया."],[[["Permanently deletes an empty shared drive for which the user is an organizer."],["Requires the `driveId` as a path parameter to identify the shared drive."],["Allows domain administrators to delete the shared drive and its contents using query parameters `useDomainAdminAccess` and `allowItemDeletion`."],["Uses a DELETE request with an empty body and returns an empty response upon success."],["Needs authorization with the `https://www.googleapis.com/auth/drive` scope."]]],["This document outlines the process for permanently deleting a shared drive using a `DELETE` HTTP request. The request requires the shared drive's `driveId` as a path parameter. Optional query parameters, `useDomainAdminAccess` and `allowItemDeletion`, enable domain administrator access and the deletion of items within the drive, respectively. The request body must be empty. A successful deletion results in an empty response body. Authorization requires the `https://www.googleapis.com/auth/drive` OAuth scope.\n"]]