For the complete documentation index, see llms.txt. This page is also available as Markdown.

delete-network

Delete a Rumi network and its per-role firewalls — the granular inverse of create-network.

Syntax

rumi cloud hetzner delete-network \
  --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 to delete

Required

Example

rumi cloud hetzner delete-network --api-key $HCLOUD_TOKEN --network my-cloud

Notes

  • Refuses 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.

See Also

Last updated