docs-v2/content/influxdb/cloud/tools/influxdb-templates/stacks/remove.md

956 B

title list_title description menu weight aliases related list_code_example
Remove an InfluxDB stack Remove a stack Use the [`influx stacks remove` command](/influxdb/cloud/reference/cli/influx/stacks/remove/) to remove an InfluxDB stack and all its associated resources.
influxdb_cloud
parent name
InfluxDB stacks Remove a stack
204
/influxdb/cloud/influxdb-templates/stacks/remove/
/influxdb/cloud/reference/cli/influx/stacks/remove/
```sh influx stacks remove \ -o example-org \ --stack-id=12ab34cd56ef ```

Use the influx stacks remove command to remove an InfluxDB stack and all its associated resources.

Provide the following:

  • Organization name or ID
  • Stack ID
# Syntax
influx stacks remove -o <org-name> --stack-id=<stack-id>

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