Ob die anfragende Anwendung sowohl „Meine Ablage“ als auch geteilte Ablagen unterstützt.
supportsTeamDrives (deprecated)
boolean
Verworfen. Verwenden Sie stattdessen supportsAllDrives.
useDomainAdminAccess
boolean
Stellen Sie die Anfrage als Domainadministrator. Wenn diese Option auf „true“ gesetzt ist, erhält der Antragsteller Zugriff, wenn sich der Datei-ID-Parameter auf eine geteilte Ablage bezieht und der Antragsteller Administrator der Domain ist, zu der die geteilte Ablage gehört.
enforceExpansiveAccess
boolean
Gibt an, ob für die Anfrage erweiterte Zugriffsregeln erzwungen werden sollen.
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, ist der Antworttext ein leeres JSON-Objekt.
Autorisierungsbereiche
Erfordert einen der folgenden OAuth-Bereiche:
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.file
Einige Bereiche sind eingeschränkt und erfordern eine Sicherheitsprüfung, damit Ihre App sie verwenden kann. Weitere Informationen finden Sie im Leitfaden zur Autorisierung.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-02-18 (UTC)."],[[["This document outlines the process for deleting a permission for a file or shared drive using the Google Drive API."],["The request requires specifying the `fileId` and `permissionId` as path parameters and can optionally include query parameters like `supportsAllDrives` and `useDomainAdminAccess`."],["The request body should be empty, and upon successful deletion, the response body will also be empty."],["Authorization is required using one of the specified OAuth scopes, which might require security assessment for restricted ones."],["Concurrent permission operations are not recommended as only the last update will be applied."]]],["This document outlines the process for deleting a permission associated with a file or shared drive. The core action is a `DELETE` HTTP request to a specified URL, including `fileId` and `permissionId` as path parameters. The request body must be empty. Optional query parameters, like `supportsAllDrives` and `useDomainAdminAccess`, modify the request's behavior. Successful deletion yields an empty JSON response. It is noted that concurrent operations on the same file are unsupported. The document list the needed Authorization scopes.\n"]]