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

# DROP FILE

Deletes an existing [KiFS file](https://docs.kinetica.com/content/tools/kifs_api.md#kifs-file).

```sql title="DROP FILE Syntax" theme={null}
DROP FILE[S] [IF EXIST[S]] <kifs file path(s)>
```

## Parameters

> [accordion] \<kifs file path(s)>
>
> *KiFS file(s)* to delete, as a comma-separated list of single-quoted file paths.

> [accordion] IF EXIST\[S]
>
> Optional error-suppression clause; if specified, no error will be returned if the given
> *file(s)* do not exist.

## Examples

To delete a *KiFS file*:

```sql DROP FILE Example theme={null}
DROP FILE 'kdata/products.csv'
```

To delete several *KiFS files*, suppressing the error if any don't exist:

```sql DROP FILES Example theme={null}
DROP FILES IF EXIST 'kdata/products.csv', 'kdata/employee.parquet'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.