Method: drives.delete
একটি শেয়ার্ড ড্রাইভ স্থায়ীভাবে মুছে দেয় যার জন্য ব্যবহারকারী একজন organizer
৷ শেয়ার্ড ড্রাইভে কোনো ট্র্যাশ করা আইটেম থাকতে পারে না।
HTTP অনুরোধ
DELETE https://www.googleapis.com/drive/v2/drives/{driveId}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
driveId | string শেয়ার্ড ড্রাইভের আইডি। |
ক্যোয়ারী প্যারামিটার
পরামিতি |
---|
useDomainAdminAccess | boolean একটি ডোমেন প্রশাসক হিসাবে অনুরোধ ইস্যু করুন; যদি সত্যে সেট করা হয়, তাহলে অনুরোধকারীকে অ্যাক্সেস দেওয়া হবে যদি তারা শেয়ার্ড ড্রাইভটি যে ডোমেনের প্রশাসক হয়। |
allowItemDeletion | boolean শেয়ার্ড ড্রাইভের ভিতরে থাকা কোনো আইটেমও মুছে ফেলা উচিত কিনা। এই বিকল্পটি শুধুমাত্র তখনই সমর্থিত হয় যখন useDomainAdminAccess ও true সেট করা থাকে। |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডি খালি।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/drive
কিছু সুযোগ সীমাবদ্ধ এবং সেগুলি ব্যবহার করার জন্য আপনার অ্যাপের নিরাপত্তা মূল্যায়ন প্রয়োজন। আরও তথ্যের জন্য, অনুমোদন নির্দেশিকা দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-10-30 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-10-30 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"]]