האם האפליקציה שביקשה תמיכה תומכת גם בתיקייה 'האחסון שלי' וגם בתיקיות אחסון שיתופי.
supportsTeamDrives (deprecated)
boolean
הוצאה משימוש: יש להשתמש במקום זאת ב-supportsAllDrives.
useDomainAdminAccess
boolean
שולחים את הבקשה כאדמין של דומיין. אם המדיניות מוגדרת כ-True, מגיש הבקשה יקבל גישה אם הפרמטר של מזהה הקובץ מתייחס לאחסון שיתופי, ומגיש הבקשה הוא אדמין בדומיין שאליו האחסון השיתופי שייך.
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התגובה
אם הביצוע יהיה תקין, גוף התגובה יהיה ריק.
היקפי הרשאות
כדי להשתמש בתכונה הזו יש צורך באחד מההיקפים הבאים של OAuth:
https://www.googleapis.com/auth/docs
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.file
חלק מההיקפים מוגבלים ומחייבים בדיקת אבטחה כדי שהאפליקציה תוכל להשתמש בהם. למידע נוסף, ניתן לעיין במדריך ההרשאות.
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2024-09-04 (שעון 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"]]