Method: labels.permissions.delete
একটি লেবেলের অনুমতি মুছে দেয়। অনুমতিগুলি সম্পূর্ণরূপে লেবেল সংস্থানকে প্রভাবিত করে, সংশোধন করা হয় না এবং প্রকাশের প্রয়োজন হয় না।
HTTP অনুরোধ
DELETE https://drivelabels.googleapis.com/v2beta/{name=labels/*/permissions/*}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
name | string প্রয়োজন। লেবেল অনুমতি সম্পদ নাম. |
ক্যোয়ারী প্যারামিটার
পরামিতি |
---|
useAdminAccess | boolean ব্যবহারকারীর অ্যাডমিন শংসাপত্রগুলি ব্যবহার করার জন্য true সেট করুন৷ সার্ভার অ্যাক্সেসের অনুমতি দেওয়ার আগে ব্যবহারকারীকে লেবেলের জন্য একজন প্রশাসক যাচাই করবে। |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডি খালি।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/drive.labels
-
https://www.googleapis.com/auth/drive.admin.labels
আরও তথ্যের জন্য, অনুমোদন নির্দেশিকা দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-10-30 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-10-30 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["This document outlines the process for deleting a Label's permission using the Drive Labels API, emphasizing that permissions apply to the entire Label and are not version-controlled."],["You will need to send a DELETE request to a specific URL, including the Label Permission resource name as a path parameter."],["Optionally, you can use the 'useAdminAccess' query parameter to leverage admin credentials for the operation, given the user has admin privileges for the Label."],["Authorization requires having either the 'drive.labels' or 'drive.admin.labels' OAuth scope, as detailed in the Authorization guide."],["Successful execution of the request results in an empty response body, indicating the permission was deleted."]]],["This document details how to delete a Label's permission via an HTTP DELETE request to a specified URL. The URL, defined using gRPC Transcoding syntax, requires the Label Permission resource name as a path parameter. An optional `useAdminAccess` query parameter allows for admin credential usage. The request body must be empty, and a successful operation results in an empty response body. Authorization requires either the `drive.labels` or `drive.admin.labels` OAuth scope. Permissions are applied to the Label resource as a whole, are not revisioned and do not need to be published.\n"]]