> For the complete documentation index, see [llms.txt](https://docs.rumi.systems/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rumi.systems/rumi-cli/commands/cloud/civo/deprovision.md).

# deprovision

Tear down a provisioned Rumi environment: delete every instance, then the network.

## Syntax

```bash
rumi cloud civo deprovision \
  --api-key <token> \
  --region <region> \
  --network <network> \
  --keyPair <keypair> \
  [options]
```

## Options

| Option      | Short | Description                                                      | Default  |
| ----------- | ----- | ---------------------------------------------------------------- | -------- |
| `--api-key` | `-k`  | The Civo API token to use (or set `CIVO_API_TOKEN`)              | Required |
| `--region`  | `-r`  | The Civo region in which to delete the environment (e.g. `FRA1`) | Required |
| `--network` | `-n`  | The name of the provisioned Rumi environment to delete           | Required |
| `--keyPair` | `-K`  | The network SSH key pair                                         | Required |

## Example

```bash
rumi cloud civo deprovision \
  --api-key $CIVO_API_TOKEN \
  --region FRA1 \
  --network my-cloud \
  --keyPair rumi
```

{% hint style="warning" %}
This permanently deletes all instances in the environment (platform nodes and service workers) along with their data, and the network itself.
{% endhint %}

## See Also

* [provision](/rumi-cli/commands/cloud/civo/provision.md)
* [delete-network](/rumi-cli/commands/cloud/civo/delete-network.md)
* [create-network](/rumi-cli/commands/cloud/civo/create-network.md)
