> ## 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

<a id="sql-kifs-drop-file" />

Deletes an existing [KiFS file](/content/tools/kifs_api#kifs-file).

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

## Parameters

<AccordionGroup>
  <Accordion title="<kifs file path(s)>" id="<kifs-file-path-s->" defaultOpen>
    *KiFS file(s)* to delete, as a comma-separated list of single-quoted file paths.
  </Accordion>

  <Accordion title="IF EXIST[S]" id="if-exists" defaultOpen>
    Optional error-suppression clause; if specified, no error will be returned if the given
    *file(s)* do not exist.
  </Accordion>
</AccordionGroup>

## 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.