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

941 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/v2/reference/cli/influx/stacks/remove/) to remove an InfluxDB stack and all its associated resources.
influxdb_v2
parent name
InfluxDB stacks Remove a stack
205
/influxdb/v2/influxdb-templates/stacks/remove/
/influxdb/v2/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