docs-v2/content/shared/influxctl/table/delete.md

1.0 KiB

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

Usage

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

Arguments

Argument Description
DATABASE_NAME Name of the database
TABLE_NAME Name of table to delete

Flags

Flag Description
-h --help Output command help

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

Examples

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

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