Method: permissions.delete
একটি অনুমতি মুছে দেয়।
সতর্কতা: একই ফাইলে সমকালীন অনুমতি ক্রিয়াকলাপ সমর্থিত নয়; শুধুমাত্র শেষ আপডেট প্রয়োগ করা হয়.
HTTP অনুরোধ
DELETE https://www.googleapis.com/drive/v3/files/{fileId}/permissions/{permissionId}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
fileId | string ফাইল বা শেয়ার্ড ড্রাইভের আইডি। |
permissionId | string অনুমতির আইডি। |
ক্যোয়ারী প্যারামিটার
পরামিতি |
---|
supportsAllDrives | boolean অনুরোধ করা অ্যাপ্লিকেশনটি আমার ড্রাইভ এবং শেয়ার্ড ড্রাইভ উভয়কেই সমর্থন করে কিনা৷ |
supportsTeamDrives (deprecated) | boolean বাতিল করা হয়েছে: পরিবর্তে supportsAllDrives ব্যবহার করুন। |
useDomainAdminAccess | boolean একটি ডোমেন প্রশাসক হিসাবে অনুরোধ ইস্যু করুন; যদি সত্যে সেট করা হয়, তাহলে অনুরোধকারীকে অ্যাক্সেস দেওয়া হবে যদি ফাইল আইডি প্যারামিটারটি একটি শেয়ার্ড ড্রাইভকে নির্দেশ করে এবং অনুরোধকারী সেই ডোমেনের একজন প্রশাসক হয় যার সাথে শেয়ার্ড ড্রাইভটি অন্তর্গত। |
enforceExpansiveAccess | boolean অনুরোধটি বিস্তৃত অ্যাক্সেসের নিয়মগুলি প্রয়োগ করবে কিনা৷ |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডি একটি খালি JSON অবজেক্ট।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/drive
-
https://www.googleapis.com/auth/drive.file
কিছু সুযোগ সীমাবদ্ধ এবং সেগুলি ব্যবহার করার জন্য আপনার অ্যাপের নিরাপত্তা মূল্যায়ন প্রয়োজন। আরও তথ্যের জন্য, অনুমোদন নির্দেশিকা দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-02-27 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-02-27 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["This document outlines the process for deleting a permission for a file or shared drive using the Google Drive API."],["The request requires specifying the `fileId` and `permissionId` as path parameters and can optionally include query parameters like `supportsAllDrives` and `useDomainAdminAccess`."],["The request body should be empty, and upon successful deletion, the response body will also be empty."],["Authorization is required using one of the specified OAuth scopes, which might require security assessment for restricted ones."],["Concurrent permission operations are not recommended as only the last update will be applied."]]],["This document outlines the process for deleting a permission associated with a file or shared drive. The core action is a `DELETE` HTTP request to a specified URL, including `fileId` and `permissionId` as path parameters. The request body must be empty. Optional query parameters, like `supportsAllDrives` and `useDomainAdminAccess`, modify the request's behavior. Successful deletion yields an empty JSON response. It is noted that concurrent operations on the same file are unsupported. The document list the needed Authorization scopes.\n"]]