# Delete Files

When you delete a file, it will be sent to [Trash](https://app.sirv.com/assets/trash) for 30 days (120 days on Enterprise plans). After that, it will be permanently deleted.

Files in Trash do not count towards your [storage usage](/help/getting-started/allowances/).

If the same file (or same filename) is deleted several times, a numerical suffix will be added e.g. diamond-ring.jpg, diamond-ring.jpg.1, diamond-ring.jpg.2 etc.

You can delete files through the web app at app.sirv.com or by FTP, S3 or [REST API](/help/rest-api/sirv-rest-api/).

In all cases, files will go to Trash, so you can’t permanently delete files in a single operation by mistake.

## Recovering files from Trash

To recover files, open [Assets > Trash](https://app.sirv.com/assets/trash), right-click a file or folder and click “Restore”. To restore everything in the Trash, click “Restore all” at the top:

![Trash with a folder's right-click menu open on Restore, and the Restore all button at the top](https://docs.sirv.com/img/help/screenshots/app-2026-11/trash-restore.png)

You can tick several files and folders, then click “Restore” in the bar at the bottom of the page.

You can also use FTP to drag the file out of the Trash to wherever you would like to store it.

## Permanently deleting files

To delete a file from the Trash, right-click it and click “Delete forever”. “Delete all” at the top empties the whole Trash. Either way, **the files are permanently deleted**.

Deleting files from Trash will not reduce your storage usage, because files in the Trash are not counted.

## Permission to delete files

Only account owners and admins have complete rights to delete files, empty Trash in the Sirv web app or by FTP.

To protect files against erroneous moving or deletion of files, ensure that users have the most appropriate roles for their needs - refer to the table of [roles and permissions](/help/account-management/user-access-management/users-roles-permissions/).

Also consider upgrading to an Enterprise plan to take advantage of [folder lock](/help/account-management/user-access-management/folder-lock/), to further protect against accidental deletion/modification of folders/files.

## Delete files with the API

You can build automatic file deletion into your workflow by using the Sirv REST API:

-   [Detailed API documentation to delete a batch of up to 1000 files/folders](/help/rest-api/batch-delete-files-with-the-api/)
-   [API documentation to delete up to 1000 files/folders](/help/rest-api/reference/files/batch-delete/#delete-a-batch-of-files-or-directories)
-   [API documentation to delete 1 file at a time](/help/rest-api/reference/files/copy-rename-delete/#delete-file-or-empty-folder)
