Method: labels.permissions.delete
একটি লেবেলের অনুমতি মুছে দেয়। অনুমতিগুলি সম্পূর্ণরূপে লেবেল সংস্থানকে প্রভাবিত করে, সংশোধন করা হয় না এবং প্রকাশের প্রয়োজন হয় না।
HTTP অনুরোধ
DELETE https://drivelabels.googleapis.com/v2/{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 resource and aren't versioned."],["The method requires a `DELETE` request to a specific URL with the Label Permission resource name as a path parameter, enabling users to remove access control for a specific label."],["An optional query parameter `useAdminAccess` can be set to `true` to leverage the user's admin privileges for authorization, requiring verification of admin status before proceeding."],["Successful deletion is indicated by an empty response body, while authorization necessitates the use of either `drive.labels` or `drive.admin.labels` OAuth scopes."]]],["This document details how to delete a Label's permission via an HTTP DELETE request. The request URL, defined using gRPC Transcoding syntax, includes a required `name` path parameter specifying the Label Permission resource. An optional `useAdminAccess` query parameter allows for admin credential use. The request body must be empty. A successful response returns an empty body. Authorization requires either the `drive.labels` or `drive.admin.labels` OAuth scope. The operation directly impacts the Label resource and doesn't involve revisions or publishing.\n"]]