Back to Influxdb

Delete

content/shared/influxctl/table/delete.md

latest1.0 KB
Original Source

The influxctl table delete command deletes a specified table from a database.

Usage

sh
influxctl table delete [flags] <DATABASE_NAME> <TABLE_NAME>

Arguments

ArgumentDescription
DATABASE_NAMEName of the database
TABLE_NAMEName of table to delete

Flags

FlagDescription
-h--helpOutput command help

{{% caption %}} Also see influxctl global flags. {{% /caption %}}

Examples

<!-- pytest.mark.skip -->

{{% code-placeholders "(DATABASE|TABLE)_NAME" %}}

bash
influxctl table delete DATABASE_NAME TABLE_NAME

{{% /code-placeholders %}}

Replace the following:

  • {{% code-placeholder-key %}}DATABASE_NAME{{% /code-placeholder-key %}}: the name of the database to delete the table from
  • {{% code-placeholder-key %}}TABLE_NAME{{% /code-placeholder-key %}}: the name of the table to delete