Create private network
/cloud/project/{project_uuid}/sdn/private-network/Creates an internal VLAN (tag) with a /24 subnet, the gateway on .1 and DHCP. Pick a free cidr from Get private network options. Attach a VM to the network with lan_interfaces (or lan_vnets) when creating or resizing it.
Authorization
bearerAuth API key created in the portal (Settings → API Keys). Send as Authorization: Bearer <key>.
In: header
Path Parameters
Project UUID.
TypeScript Definitions
Use the request body type in TypeScript.
Private network to create.
Response Body
application/json
curl -X POST "https://example.com/cloud/project/string/sdn/private-network/" \ -H "Content-Type: application/json" \ -d '{ "lan_type": "tag", "cidr": "string" }'{ "vnet": "string", "subnet": "string", "gateway": "string"}