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 URL
    https://www.googleapis.com/drive/v3
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/drive
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://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.