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

643 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 >}} {{% token-link "admin" "admin" %}}

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

influxdb3 delete database DATABASE_NAME

{{% /code-placeholders %}}

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