Delete a table |
Use the [`influxdb3 delete table` command](/influxdb3/enterprise/reference/cli/influxdb3/delete/table/) or the [HTTP API](/influxdb3/enterprise/api/v3/) to delete a table from a specified database in InfluxDB 3 Enterprise. Supports both soft delete and hard delete operations.
|
|
203 |
```sh
# CLI
influxdb3 delete table \
--database <DATABASE_NAME> \
--token <AUTH_TOKEN> \
<TABLE_NAME>
# HTTP API
curl -X DELETE "http://localhost:8181/api/v3/configure/table?db=<DATABASE_NAME>&table=<TABLE_NAME>" \
--header "Authorization: Bearer <AUTH_TOKEN>"
```
|
/influxdb3/enterprise/reference/cli/influxdb3/delete/table/ |
/influxdb3/enterprise/api/v3/ |
|
/shared/influxdb3-admin/tables/delete.md |