Method: labels.revisions.permissions.delete
किसी लेबल की अनुमति को मिटाता है. अनुमतियों की मदद से, लेबल के रिसॉर्स पर पूरा असर पड़ता है. इनमें बदलाव नहीं किया जाता और न ही इन्हें पब्लिश करने की ज़रूरत होती है.
एचटीटीपी अनुरोध
DELETE https://drivelabels.googleapis.com/v2/{name=labels/*/revisions/*/permissions/*}
यह यूआरएल 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 साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-09-04 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-09-04 (UTC) को अपडेट किया गया."],[[["This API deletes a specific permission for a Google Drive Label, impacting the entire Label resource and not requiring revisions or publishing."],["The request requires specifying the Label Permission resource name in the URL path and can utilize admin credentials with the `useAdminAccess` query parameter."],["The request body should be empty, and a successful deletion results in an empty response body."],["Authorization is necessary with either `https://www.googleapis.com/auth/drive.labels` or `https://www.googleapis.com/auth/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 verification. The request body must be empty, and a successful deletion results in an empty response body. Authorization requires either the `drive.labels` or `drive.admin.labels` OAuth scope.\n"]]