# Delete files

You can delete files using either of the following methods:

1. **From the Action menu**
   * Select the file.
   * Click **Action → Delete**.
2. **From the Action column**
   * Click the **three-dot icon** next to the file name.
   * Select **Delete**.\
     \&#xNAN;*Note:* This icon appears only for files. For folders, the **Add folder** icon is displayed instead.

You can also delete multiple files at once. For details, see the [Bulk actions](/data-mover-1.21/file-manager/use-the-file-manager/bulk-actions.md) page.

Once you have clicked on the delete icon, a confirmation pop-up will appear.

<figure><img src="/files/oqFPmRjW7k9XDolgJosA" alt="" width="426"><figcaption></figcaption></figure>

{% hint style="info" %}
As written in the pop-up message, **deleted files cannot be recovered later!**
{% endhint %}

If the deletion is successful, a confirmation message appears at the bottom-right corner of the page.

**Only users with the appropriate permissions can delete files.**\
If you try to delete files without a specific permission, an error message will appear.

Permissions are configured when creating the VFS and require two steps:

1. **Enable** the **ACL**.
2. Check the **Delete** permission in the VFS configuration. &#x20;

For more details, check the [Configuring a VFS](/data-mover-1.21/virtual-file-systems/configure-a-virtual-file-system.md) page.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-mover-1.21/file-manager/use-the-file-manager/delete-files.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
