Delete
|
|||||
|
|
Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a shared drive the user must be an organizer on the parent. If the target is a folder, all descendants owned by the user are also deleted
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- See, edit, create, and delete all of your Google Drive files
- View and manage its own configuration data in your Google Drive
- View and manage Google Drive files and folders that you have opened or created with this app
Input
This building block consumes 3 input parameters
Name | Format | Description |
---|---|---|
fileId Required |
STRING |
The ID of the file |
supportsAllDrives |
BOOLEAN |
Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives |
supportsTeamDrives |
BOOLEAN |
Deprecated use supportsAllDrives instead |
= Parameter name
= Format
fileId STRING Required The ID of the file |
supportsAllDrives BOOLEAN Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives |
supportsTeamDrives BOOLEAN Deprecated use supportsAllDrives instead |