Actions111
- Action Actions
- Certificate Actions
- Datacenter Actions
- Firewall Actions
- Floating IP Actions
- Image Actions
- ISO Actions
- Load Balancer Actions
- Load Balancer Type Actions
- Location Actions
- Network Actions
- Placement Group Actions
- Pricing Actions
- Primary IP Actions
- Server Actions
- Server Type Actions
- SSH Key Actions
- Volume Actions
Network → Add Subnet
AI-generatedSummary
Add a subnet to a selected Hetzner Cloud network by sending its subnet type, network zone, and CIDR IP range to the network’s add-subnet action. The operation returns the action object from Hetzner Cloud’s response.
Inputs
- Network (required) — Select a network from the searchable list or enter its ID.
- Type — Subnet type: Cloud, Server, or vSwitch. Defaults to Cloud.
- Network Zone — Zone where the subnet resides. Defaults to eu-central.
- IP Range — Subnet IP range in CIDR notation, such as 10.0.1.0/24.
- Request Options — Optional request settings include batching, accepting invalid SSL certificates, an HTTP proxy, and a timeout.
Output shape
A single action object
The node unwraps the action property from the API response. The subnet fields are sent in the request body as type, network_zone, and ip_range.