Method: permissions.delete
একটি ফাইল বা শেয়ার্ড ড্রাইভ থেকে একটি অনুমতি মুছে দেয়।
সতর্কতা: একই ফাইলে সমকালীন অনুমতি ক্রিয়াকলাপ সমর্থিত নয়; শুধুমাত্র শেষ আপডেট প্রয়োগ করা হয়.
HTTP অনুরোধ
DELETE https://www.googleapis.com/drive/v2/files/{fileId}/permissions/{permissionId}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
fileId | string ফাইল বা শেয়ার্ড ড্রাইভের আইডি। |
permissionId | string অনুমতির জন্য আইডি। |
ক্যোয়ারী প্যারামিটার
পরামিতি |
---|
supportsAllDrives | boolean অনুরোধ করা অ্যাপ্লিকেশনটি আমার ড্রাইভ এবং শেয়ার্ড ড্রাইভ উভয়কেই সমর্থন করে কিনা৷ |
supportsTeamDrives (deprecated) | boolean বাতিল করা হয়েছে: পরিবর্তে supportsAllDrives ব্যবহার করুন। |
useDomainAdminAccess | boolean একটি ডোমেন প্রশাসক হিসাবে অনুরোধ ইস্যু করুন; যদি সত্যে সেট করা হয়, তাহলে অনুরোধকারীকে অ্যাক্সেস দেওয়া হবে যদি ফাইল আইডি প্যারামিটারটি একটি শেয়ার্ড ড্রাইভকে নির্দেশ করে এবং অনুরোধকারী সেই ডোমেনের একজন প্রশাসক হয় যার সাথে শেয়ার্ড ড্রাইভটি অন্তর্গত। |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডি খালি।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/docs
-
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 এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-10-30 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-10-30 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Permanently deletes a specific permission from a file or shared drive, with only the latest update being applied in case of concurrent operations."],["Uses an HTTP DELETE request to the Google Drive API, requiring the file ID and permission ID as path parameters."],["Allows specifying whether the application supports My Drives and shared drives, or if the request should be made as a domain administrator, using query parameters."],["Needs authorization with one of the specified OAuth scopes related to Google Docs or Drive access."]]],["This document outlines the process of deleting a permission from a file or shared drive using a `DELETE` HTTP request to a specific URL. The request requires `fileId` and `permissionId` as path parameters. Optional query parameters include `supportsAllDrives`, `supportsTeamDrives` (deprecated), and `useDomainAdminAccess`. The request body must be empty, and a successful response is also empty. Authorization requires one of three OAuth scopes listed. Concurrent permissions updates on the same file are not supported.\n"]]