files
DELETE /files/trash
Permanently deletes all of the user's trashed files. For more information, see Trash or delete files and folders.
Request
- Base URLhttps://www.googleapis.com/drive/v3
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/driveAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/drive
Query parameters
driveIdstring
If set, empties the trash of the provided shared drive.
enforceSingleParentboolean
Deprecated: If an item isn't in a shared drive and its last parent is deleted but the item itself isn't, the item will be placed under its owner's root.
Response
Successful response
Changes
No recorded changes to this operation across all 6 revisions of this API.