Back to Influxdb

Index

content/shared/influxdb3-cli/delete/_index.md

latest3.1 KB
Original Source

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

Usage

<!--pytest.mark.skip-->
bash
influxdb3 delete <SUBCOMMAND>

Subcommands

{{% show-in "enterprise" %}}

SubcommandDescription
databaseDelete a database
file_indexDelete a file index for a database or table
last_cacheDelete a last value cache
distinct_cacheDelete a metadata cache
tableDelete a table from a database
tokenDelete an authorization token from the server
triggerDelete a trigger for the processing engine
helpPrint command help or the help of a subcommand
{{% /show-in %}}

{{% show-in "core" %}}

SubcommandDescription
databaseDelete a database
last_cacheDelete a last value cache
distinct_cacheDelete a metadata cache
tableDelete a table from a database
tokenDelete an authorization token from the server
triggerDelete a trigger for the processing engine
helpPrint command help or the help of a subcommand
{{% /show-in %}}

Options

OptionDescription
-h--helpPrint help information
--help-allPrint detailed help information