Create an isolated private network for your services. This is useful for increasing security and managing network traffic more efficiently between your resources.
Accept Example Content-Type Example name string required action string required description string success boolean timestamp string requestId string data object https://cloud.hostup.se/api/private-networks curl -X POST "https://cloud.hostup.se/api/private-networks" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"action": "string",
"description": "string"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"message": "string",
"allocation": {
"id": 0,
"client_id": "string",
"parent_subnet_id": "string",
"parent_cidr": "string",
"rack_id": "string",
"status": "string",
"metadata": {
"requestedBy": "string"
},
"created_at": "string",
"updated_at": "string"
},
"firstSubnet": {
"id": 0,
"allocation_id": 0,
"subnet_id": "string",
"cidr": "string",
"vlan_id": 0,
"gateway_ip": "string",
"status": "string",
"metadata": {
"parentSubnetId": 0
},
"created_at": "string",
"updated_at": "string"
}
}
} {
"name": "string",
"action": "string",
"description": "string"
}