---
updatedAt: 2025-09-22T20:31:21.000Z
agentTools:
  projectIndex: https://docs.v7labs.com/llms.txt
---

# delete-files

A CLI how-to guide. SDK power-users can [refer to our full SDK docs generated from our source code here](https://darwin-py-sdk.v7labs.com/)

Hard deletes the files from the given `RemoteDataset`. Hard deletes are non-recoverable, so this is to be used with caution. If you wish to soft delete a `DatasetItem` you can change the item's status to `"archived"` instead.

```shell
$ darwin dataset delete-files cars mycar.jpg
Do you want to continue? [y/N] y
Files successfully deleted!
```

**Positional arguments**:

* `dataset`: Remote Dataset's name.
* `files`: Files to delete.

**Optional arguments**:

* `--yes`: If `y` it does not prompt the user for confirmation, if `n` it does.

Watch it in action!

![1502](https://files.readme.io/d921c88-Delete-files.gif "Delete-files.gif")