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

# terminate-platform

Terminate (delete) every platform instance in a network, in dependency order: the bastion is terminated last so DNS and the reverse proxy stay up while the other roles are removed.

## Syntax

```bash
rumi cloud hetzner terminate-platform \
  --api-key <token> \
  --network <network> \
  [options]
```

## Options

| Option      | Short | Description                                                 | Default  |
| ----------- | ----- | ----------------------------------------------------------- | -------- |
| `--api-key` | `-k`  | The Hetzner Cloud project API token (or set `HCLOUD_TOKEN`) | Required |
| `--region`  | `-r`  | The Hetzner location the network is in                      | `fsn1`   |
| `--network` | `-n`  | The name of the network                                     | Required |

## Example

```bash
rumi cloud hetzner terminate-platform --api-key $HCLOUD_TOKEN --network my-cloud
```

{% hint style="warning" %}
Terminating permanently deletes the platform instances and their data. To tear down the whole environment (network, firewalls, and service workers too), use [deprovision](/rumi-cli/commands/cloud/hetzner/deprovision.md).
{% endhint %}

## Notes

* Acts on all platform roles (bastion, admin, monitor, and any broker). The bastion is terminated last.
* Service (worker) instances are not touched; terminate them with [terminate-instance](/rumi-cli/commands/cloud/hetzner/terminate-instance.md).

## See Also

* [start-platform](/rumi-cli/commands/cloud/hetzner/start-platform.md)
* [stop-platform](/rumi-cli/commands/cloud/hetzner/stop-platform.md)
* [deprovision](/rumi-cli/commands/cloud/hetzner/deprovision.md)
