---
title: influxdb3 delete
description: The influxdb3 delete command deletes a resource such as a cache, database, or table.
url: https://docs.influxdata.com/influxdb3/enterprise/reference/cli/influxdb3/delete/
estimated_tokens: 582
product: InfluxDB 3 Enterprise
version: enterprise
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb3/enterprise/reference/cli/influxdb3/delete/
date: '2026-07-11T10:53:18+00:00'
lastmod: '2026-07-11T10:53:18+00:00'
---

The `influxdb3 delete` command deletes a resource such as a cache, a database, or a table.

## Usage

```bash
influxdb3 delete <SUBCOMMAND>
```

## Subcommands

|                                      Subcommand                                       |                 Description                 |
|---------------------------------------------------------------------------------------|---------------------------------------------|
|      [database](/influxdb3/enterprise/reference/cli/influxdb3/delete/database/)       |              Delete a database              |
|    [file\_index](/influxdb3/enterprise/reference/cli/influxdb3/delete/file_index/)    | Delete a file index for a database or table |
|    [last\_cache](/influxdb3/enterprise/reference/cli/influxdb3/delete/last_cache/)    |          Delete a last value cache          |
|[distinct\_cache](/influxdb3/enterprise/reference/cli/influxdb3/delete/distinct_cache/)|           Delete a metadata cache           |
|         [table](/influxdb3/enterprise/reference/cli/influxdb3/delete/table/)          |       Delete a table from a database        |
|         [token](/influxdb3/enterprise/reference/cli/influxdb3/delete/token/)          |Delete an authorization token from the server|
|       [trigger](/influxdb3/enterprise/reference/cli/influxdb3/delete/trigger/)        | Delete a trigger for the processing engine  |

| query\_group | Delete a distributed query group (not yet operational) |
| help | Print command help or the help of a subcommand |

## Options

|Option|            |          Description          |
|------|------------|-------------------------------|
| `-h` |  `--help`  |    Print help information     |
|      |`--help-all`|Print detailed help information|
| Subcommand | Description |
| --- | --- |
| Subcommand | Description |
| database | Delete a database |
| file_index | Delete a file index for a database or table |
| last_cache | Delete a last value cache |
| distinct_cache | Delete a metadata cache |
| table | Delete a table from a database |
| token | Delete an authorization token from the server |
| trigger | Delete a trigger for the processing engine |

| Option |  | Description |
| --- | --- | --- |
| Option |  | Description |
| -h | --help | Print help information |
|  | --help-all | Print detailed help information |
