younifyd
Menu

Drive.files.empty Trash

Permanently deletes all of the user's trashed files.

DELETE/files/trash

Use it in a workflow

  1. Add a step and choose the Google Drive connector.
  2. Pick the Drive.files.empty Trash action (under files).
  3. Fill in the fields below, then reference the result from later steps as {{driveFilesEmptyTrash.response.data}}.

Request

Query parameters

altstring

Data format for the response.

One ofjson

fieldsstring

Selector specifying which fields to include in a partial response.

keystring

API 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_tokenstring

OAuth 2.0 token for the current user.

prettyPrintboolean

Returns response with indentations and line breaks.

quotaUserstring

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

userIpstring

Deprecated. Please use quotaUser instead.

driveIdstring

If set, empties the trash of the provided shared drive.

enforceSingleParentboolean

Deprecated. 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.

Response

Returns 200 with a any. Read it in later steps with {{driveFilesEmptyTrash.response.data.<field>}}.

Need more? See the Google Drive guide for connection setup and behaviour shared by every action.

Drive.files.empty Trash — Google Drive — Documentation