---
title: Undelete a table
description: Use the Admin UI or the influxctl table undelete command to restore a previously deleted table in your InfluxDB Cloud Dedicated cluster.
url: https://docs.influxdata.com/influxdb3/cloud-dedicated/admin/tables/undelete/
estimated_tokens: 1192
product: InfluxDB Cloud Dedicated
version: cloud-dedicated
---

# Undelete a table

Use the Admin UI or the [`influxctl table undelete` command](/influxdb3/cloud-dedicated/reference/cli/influxctl/table/undelete/) to restore a previously deleted table in your InfluxDB Cloud Dedicated cluster.

To undelete a table:

-   A new table with the same name cannot already exist.
-   You must have appropriate permissions to manage databases.

When you undelete a table, it is restored with the same partition template and other settings as when it was deleted.

Tables can only be undeleted for approximately 7 days

> after they are deleted. After this grace period, all Parquet files associated with the deleted table are permanently removed and the table cannot be undeleted.

<!-- Tabbed content: Select one of the following options -->

**Admin UI:**

Access the InfluxDB Cloud Dedicated Admin UI at [console.influxdata.com](https://console.influxdata.com). If you don’t have login credentials, [contact InfluxData support](https://support.influxdata.com).

In the table list for a database, find the deleted table you want to restore. Deleted tables are shown with a “Deleted” status indicator. You can sort on column headers or use the **Search** field to find a specific table.

1. In the options menu (three vertical dots to the right of the table), click **Restore Table**. The **Restore Table** dialog displays.
2. In the **Restore Table** dialog, review the table name and deletion date.
3. Click the **Restore Table** button to restore the table.

**influxctl:**

1. If you haven’t already, [download and install the `influxctl` CLI](/influxdb3/cloud-dedicated/reference/cli/influxctl/#download-and-install-influxctl).
    
2. Use the [`influxctl table undelete` command](/influxdb3/cloud-dedicated/reference/cli/influxctl/table/undelete/) to restore a deleted table. Provide the following:
    
    -   The name of the database associated with the deleted table
    -   The ID of the deleted table to restore

```bash
influxctl table undelete DATABASE_NAME TABLE_ID
```

Replace the following:

-   `DATABASE_NAME`: Name of the database associated with the deleted table
-   `TABLE_ID`: ID of the deleted table to restore

#### View deleted table IDs

To view the IDs of deleted tables, use the `influxctl table list` command with the `--filter-status=deleted` flag–for example:

```bash
influxctl table list --filter-status=deleted DATABASE_NAME
```

Replace `DATABASE_NAME` with the name of the database associated with the table you want to undelete.

<!-- End tabbed content -->

#### Related

-   [influxctl table undelete](/influxdb3/cloud-dedicated/reference/cli/influxctl/table/undelete/)
-   [Delete a table](/influxdb3/cloud-dedicated/admin/tables/delete/)
