Method: revisions.delete
স্থায়ীভাবে একটি ফাইল সংস্করণ মুছে দেয়। আপনি শুধুমাত্র ছবি বা ভিডিওর মত বাইনারি বিষয়বস্তু সহ ফাইলগুলির জন্য সংশোধনগুলি মুছতে পারেন৷ Google ডক্স বা পত্রকের মতো অন্যান্য ফাইলগুলির জন্য সংশোধন এবং শেষ অবশিষ্ট ফাইল সংস্করণটি মুছে ফেলা যাবে না৷
HTTP অনুরোধ
DELETE https://www.googleapis.com/drive/v2/files/{fileId}/revisions/{revisionId}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
fileId | string ফাইলের আইডি। |
revisionId | string রিভিশনের আইডি। |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডি খালি।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/docs
-
https://www.googleapis.com/auth/drive
-
https://www.googleapis.com/auth/drive.appdata
-
https://www.googleapis.com/auth/drive.file
কিছু সুযোগ সীমাবদ্ধ এবং সেগুলি ব্যবহার করার জন্য আপনার অ্যাপের নিরাপত্তা মূল্যায়ন প্রয়োজন। আরও তথ্যের জন্য, অনুমোদন নির্দেশিকা দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট 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 a specified version of a file, applicable only to files with binary content like images or videos."],["Utilizes an HTTP DELETE request to `https://www.googleapis.com/drive/v2/files/{fileId}/revisions/{revisionId}`, requiring file and revision IDs."],["Requires an empty request body and returns an empty response body upon successful deletion."],["Needs authorization with one of the specified OAuth scopes, some of which may require a security assessment."]]],["This document outlines the process for permanently deleting a file revision using a `DELETE` HTTP request to a specific URL. The URL requires `fileId` and `revisionId` path parameters. The request body must be empty. A successful request results in an empty response body. Only revisions for files with binary content can be deleted. The operation requires one of four specified OAuth authorization scopes for authentication.\n"]]