> 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/terminate-instance.md).

# terminate-instance

Terminate (delete) a single service instance in a network.

## Syntax

```bash
rumi cloud civo terminate-instance \
  --api-key <token> \
  --region <region> \
  --network <network> \
  --keyPair <keypair> \
  --name <name> \
  [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 instance (e.g. `FRA1`) | Required |
| `--network` | `-n`  | The name of the network in which to delete the instance       | Required |
| `--keyPair` | `-K`  | The network SSH key pair                                      | Required |
| `--name`    | `-i`  | The name of the instance to delete                            | Required |
| `--nowait`  | `-o`  | Do not wait for the instance to fully terminate               | `false`  |

## Example

```bash
rumi cloud civo terminate-instance \
  --api-key $CIVO_API_TOKEN \
  --region FRA1 \
  --network my-cloud \
  --keyPair rumi \
  --name myapp
```

{% hint style="warning" %}
Terminating an instance permanently deletes it and its data. To tear down the whole environment, use [deprovision](/rumi-cli/commands/cloud/civo/deprovision.md).
{% endhint %}

## See Also

* [launch-instance](/rumi-cli/commands/cloud/civo/launch-instance.md)
* [list-instances](/rumi-cli/commands/cloud/civo/list-instances.md)
* [deprovision](/rumi-cli/commands/cloud/civo/deprovision.md)
