---
title: Remove an InfluxDB stack
description: Use the influx stacks remove command to remove an InfluxDB stack and all its associated resources.
url: https://docs.influxdata.com/influxdb/cloud/tools/influxdb-templates/stacks/remove/
estimated_tokens: 318
product: InfluxDB Cloud (TSM)
version: cloud
---

# Remove an InfluxDB stack

Use the [`influx stacks remove` command](/influxdb/cloud/reference/cli/influx/stacks/remove/) to remove an InfluxDB stack and all its associated resources.

**Provide the following:**

-   Organization name or ID
-   Stack ID

```sh
# Syntax
influx stacks remove -o <org-name> --stack-id=<stack-id>

# Example
influx stacks remove \
  -o example-org \
  --stack-id=12ab34cd56ef
```

#### Related

-   [influx stacks remove](/influxdb/cloud/reference/cli/influx/stacks/remove/)
