Permanently delete all of the trashed files

DELETE {{baseUrl}}/files/trash?driveId={{driveId}}&key={{key}}&oauth_token={{oauthToken}}

Permanently deletes all of the user's trashed files.

Request Params

KeyDatatypeRequiredDescription
driveIdstringIf set, empties the trash of the provided shared drive.
enforceSingleParentstringDeprecated. If an item is not in a shared drive and its last parent is deleted but the item itself is not, the item will be placed under its owner's root.
altstringData format for the response.
fieldsstringSelector specifying which fields to include in a partial response.
keystringAPI key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
oauth_tokenstringOAuth 2.0 token for the current user.
prettyPrintstringReturns response with indentations and line breaks.
quotaUserstringAn opaque string that represents a user for quota purposes. Must not exceed 40 characters.
userIpstringDeprecated. Please use quotaUser instead.

RESPONSES

status: OK

""