---
title: Delete a custom file index
description: Use the influxdb3 delete file_index command to delete a custom file indexing strategy from a database or a table and revert to the default indexing strategy.
url: https://docs.influxdata.com/influxdb3/enterprise/admin/file-index/delete/
estimated_tokens: 357
product: InfluxDB 3 Enterprise
version: enterprise
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb3/enterprise/admin/file-index/delete/
date: '2026-05-15T15:46:14-06:00'
lastmod: '2026-05-15T15:46:14-06:00'
---

Use the [`influxdb3 delete file_index` command](/influxdb3/enterprise/reference/cli/influxdb3/delete/file_index/)to delete a custom file indexing strategy from a database or a table and revert
to the default indexing strategy.

Provide the following:

* **Token** (`--token`): *(Required)* Your [admin token](/influxdb3/enterprise/admin/tokens/).
  You can also use the `INFLUXDB3_AUTH_TOKEN` environment variable to specify
  the token.
* **Database** (`-d`, `--database`): *(Required)* The name of the database to
  apply remove the custom index from. You can also use the `INFLUXDB3_DATABASE_NAME`environment variable to specify the database.
* **Table** (`-t`, `--table`): The name of the table to remove the custom index from.
  If no table is specified, the custom indexing strategy is removed from all
  tables in the specified database.

```bash
influxdb3 delete file_index \
  --host http://localhost:8585 \
  --database DATABASE_NAME \
  --table TABLE_NAME \
```

Replace the following placeholders with your values:

* `AUTH_TOKEN`:
  your [admin token](/influxdb3/enterprise/admin/tokens/)

* `DATABASE_NAME`:
  the name of the database to remove the custom file index from

* `TABLE_NAME`:
  the name of the table to remove the custom file index from

#### Related

* [influxdb3 delete file\_index](/influxdb3/enterprise/reference/cli/influxdb3/delete/file_index/)

[indexing](/influxdb3/enterprise/tags/indexing/)
