---
title: influxctl table undelete
description: The influxctl table undelete command undeletes a previously deleted table in an InfluxDB Cloud Dedicated cluster.
url: https://docs.influxdata.com/influxdb3/cloud-dedicated/reference/cli/influxctl/table/undelete/
estimated_tokens: 423
product: InfluxDB 3 Cloud
version: cloud
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb3/cloud-dedicated/reference/cli/influxctl/table/undelete/
date: '2025-09-23T10:48:57-05:00'
lastmod: '2025-09-23T10:48:57-05:00'
---

* influxctl 2.10.4+

The `influxctl table undelete` command undeletes a previously deleted
table in an InfluxDB Cloud Dedicated cluster and restores the
table with the same partition template and other table settings present when the
table was deleted.

> [!Important]
> The table name must match the name of the deleted table and**a new, active table with the same name cannot exist**.

## Usage

```bash
influxctl table undelete <DATABASE_NAME> <TABLE_ID>
```

## Arguments

|     Argument     |                        Description                         |
|------------------|------------------------------------------------------------|
|**DATABASE\_NAME**|The name of the database that contains the table to undelete|
|  **TABLE\_ID**   |              The ID of the table to undelete               |

> [!Tip]
> #### 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:
>
> ```
> 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.

## Flags

|Flag|        |    Description    |
|----|--------|-------------------|
|`-h`|`--help`|Output command help|

*Also see [`influxctl` global flags](/influxdb3/cloud-dedicated/reference/cli/influxctl/#global-flags).*
| Argument | Description |
| --- | --- |
| Argument | Description |
| DATABASE_NAME | The name of the database that contains the table to undelete |
| TABLE_ID | The ID of the table to undelete |

| Flag |  | Description |
| --- | --- | --- |
| Flag |  | Description |
| -h | --help | Output command help |
