> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete File

> Delete a file or folder from Dropbox

Delete a file or folder from Dropbox. A folder is deleted with all its contents. Deleted items can be restored from Dropbox for a limited time.

|                       |                       |
| --------------------- | --------------------- |
| **App**               | Dropbox               |
| **Operation ID**      | `dropbox_delete_file` |
| **Type**              | Action                |
| **Connection**        | `dropbox` (required)  |
| **Credits per run**   | 1                     |
| **Agent / MCP tool**  | Yes                   |
| **Requires approval** | Yes (write operation) |

## Inputs

| Field  | Type   | Required | Default | Description                                                                                                                                   |
| ------ | ------ | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| `file` | string | Yes      | -       | The file or folder to operate on: a path from the Dropbox root, e.g. 'Creative Ads/banner.png', or a file id ('id:...') from a previous node. |

## Output

**Type**: `Dict`

Returns a confirmation with the deleted file's details.

**Fields**: `message`, `file_id`, `file_name`
