docs-v2/content/shared/influxdb3-admin/databases/delete.md

720 B

Use the influxdb3 delete database command to delete a database from {{< product-name >}}.

[!Caution]

Deleting a database cannot be undone

Deleting a database is a destructive action. Once a database is deleted, data stored in that database cannot be recovered.

Provide the following:

  • Name of the database to delete

  • {{< product-name >}} authorization token

    [!Note] While in beta, {{< product-name >}} does not require an authorization token.

{{% code-placeholders "DATABASE_NAME" %}}

influxdb3 delete database DATABASE_NAME

{{% /code-placeholders %}}

Enter yes to confirm that you want to delete the database.