---
title: "Trash File"
description: "Trash or permanently delete a Google Drive file."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/drive/trash-file"
---
# Trash File

> Trash or permanently delete a Google Drive file.

<block-meta block="Yes" capability="Google Drive" channels="Any" folder="google/drive" group="Drive" groupTo="/build/workflows/blocks/drive" icon="i-lucide-trash" pipe="Value" scope="Any" service="Google" tool="Yes" type="google.drive.trash_file">



</block-meta>

**Trash File** moves a file to trash, or permanently deletes it when **Permanently delete** is on.

**File ID** can be a folder. There is no separate delete-folder block. Permanent delete on a folder also removes what is inside it, same as in Drive.

## Configure

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        File ID
      </strong>
    </td>
    
    <td>
      Drive file or folder id (required)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Permanently delete
      </strong>
    </td>
    
    <td>
      Skip trash
    </td>
  </tr>
</tbody>
</table>

## Pipe schema

`fileId`, `deleted`, `trashed`.

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
