Private networks

Create private network

POST/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
AuthorizationBearer <token>

API key created in the portal (Settings → API Keys). Send as Authorization: Bearer <key>.

In: header

Path Parameters

project_uuid*string

Project UUID.

Request Body

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"}