26 lines
720 B
Markdown
26 lines
720 B
Markdown
|
|
Use the [`influxdb3 delete database` command](/influxdb3/version/reference/cli/influxdb3/delete/database/)
|
|
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" %}}
|
|
```sh
|
|
influxdb3 delete database DATABASE_NAME
|
|
```
|
|
{{% /code-placeholders %}}
|
|
|
|
Enter `yes` to confirm that you want to delete the database.
|