---
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: 118
product: InfluxDB Cloud (TSM)
version: cloud
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb/cloud/tools/influxdb-templates/stacks/remove/
date: '2023-11-06T15:53:12-07:00'
lastmod: '2023-11-06T15:53:12-07:00'
---

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/)
