Huddle01 Cloud
Networks

Create network

Create a new private network (VPC) with an associated subnet. The network is automatically configured with a subnet based on the provided CIDR.

POST
/networks

Authorization

ApiKeyAuth
X-API-Key<token>

API key for authentication. Generate from the Huddle01 Cloud dashboard.

In: header

Query Parameters

region*string

Region code (e.g., eu2, us1)

Header Parameters

Idempotency-Key?string

Unique key to ensure idempotent request handling

Request Body

application/json

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://cloud.huddleapis.com/api/v1/networks?region=string" \  -H "Content-Type: application/json" \  -d '{    "name": "my-private-network"  }'
{
  "success": true,
  "message": "string",
  "network": {
    "id": "string",
    "name": "string",
    "status": "string",
    "subnets": [
      "string"
    ],
    "admin_state_up": true
  }
}
{
  "success": false,
  "error": "Invalid request"
}
{
  "success": false,
  "error": "Invalid request"
}
{
  "success": false,
  "error": "Invalid request"
}