delete-network
Last updated
Delete a Rumi network and its per-role firewalls — the granular inverse of create-network.
rumi cloud hetzner delete-network \
--api-key <token> \
--network <network> \
[options]--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 to delete
Required
rumi cloud hetzner delete-network --api-key $HCLOUD_TOKEN --network my-cloudRefuses if instances are still attached. delete-network removes only the network and its firewalls; if any instance still carries the network's label it fails with a message telling you to terminate the instances first. This makes it safe to run against a network you created with create-network but never launched onto.
To tear down a whole provisioned environment (instances and network together), use deprovision instead — that is the sledgehammer; delete-network is the scalpel.
Last updated