---
title: Manage tables
description: Tables in InfluxDB 3 Enterprise are synonymous with measurements and contain time series data. Each table has a defined schema with tag and field columns.
url: https://docs.influxdata.com/influxdb3/enterprise/admin/tables/
estimated_tokens: 2304
product: InfluxDB 3 Enterprise
version: enterprise
---

# Manage tables

Tables are synonymous with measurements in InfluxDB 3 Enterprise. They are typically created automatically when you write line protocol data, but you can also manually create them to define custom schemas or apply settings. before writing data.

### [Create a table](/influxdb3/enterprise/admin/tables/create/)

Use the influxdb3 CLI or HTTP API to create a table in a specified database in InfluxDB 3 Enterprise.

```sh
# influxdb3 CLI
influxdb3 create table \
  --tags tag1,tag2,tag3 \
  --retention-period 7d \
  --database DATABASE_NAME \
  --token AUTH_TOKEN \
  TABLE_NAME

# HTTP API
curl --request POST "http://localhost:8181/api/v3/configure/table" \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer AUTH_TOKEN" \
  --data '{
    "db": "DATABASE_NAME",
    "table": "TABLE_NAME",
    "tags": ["tag1", "tag2", "tag3"],
    "retention_period": "7d"
  }'
```

### [List tables](/influxdb3/enterprise/admin/tables/list/)

Use the influxdb3 CLI or HTTP API to list tables in a specified database in InfluxDB 3 Enterprise. Use SQL SHOW TABLES or InfluxQL SHOW MEASUREMENTS statements.

```sh
# influxdb3 CLI
influxdb3 query \
  --database DATABASE_NAME \
  --token AUTH_TOKEN \
  "SHOW TABLES"

# HTTP API
curl --get "http://localhost:8181/api/v3/query_sql" \
  --header "Authorization: Bearer AUTH_TOKEN" \
  --data-urlencode "db=DATABASE_NAME" \
  --data-urlencode "q=SHOW TABLES"
```

### [Delete a table](/influxdb3/enterprise/admin/tables/delete/)

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.

```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>"
```

#### Related

-   [InfluxDB schema design recommendations](/influxdb3/enterprise/write-data/best-practices/schema-design/)
-   [influxdb3 CLI](/influxdb3/enterprise/reference/cli/influxdb3/)
-   [Table API reference](/influxdb3/enterprise/api/v3/#tag/Table)
-   [Naming restrictions and conventions](/influxdb3/enterprise/reference/naming-restrictions/)
-   [Data retention in InfluxDB 3 Enterprise](/influxdb3/enterprise/reference/internals/data-retention/)

[tables](/influxdb3/enterprise/tags/tables/)
