Create a subnet
Carves a range out of the VPC. The range must sit inside the VPC’s own and must not overlap another subnet.
Authorizations
Bearer token for authentication. Format: 'Bearer {token}'
Headers
Workspace ID (uses default workspace if not provided)
Path Parameters
VPC UUID
Body
Create a subnet
Subnet name, unique within the VPC
Address families the subnet runs. dual (default), ipv4 for no IPv6 at all, or ipv6 for no IPv4.
dual, ipv4, ipv6 IPv4 range inside the VPC. Required unless family is ipv6.
IPv6 range. Derived from the VPC's own when omitted; required when family is ipv6.
Public keeps the platform default route on eth0; private moves it to the VPC so egress leaves through your own gateway. This is the only difference between the two.
Response
Create a subnet
Api_V1_Entities_VpcSubnet model
Unique subnet identifier
Subnet name, unique within the VPC
Current status (pending, active, failed, deleting)
IPv4 range, carved out of the VPC's own
IPv6 range
Address families the subnet runs (dual, ipv4, ipv6)
IPv4 gateway for this subnet
IPv6 gateway for this subnet
Public keeps the platform default route; private moves it to the VPC so egress leaves through your own gateway
Number of attached workloads
Creation timestamp

