DewaVPS

Create private network

POST
/network/vswitch/create

Create a new private network (vswitch) in the specified location.

Authorization

ApiKeyAuth
x-apikey<token>

In: header

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://api.dewavps.com/v1/network/vswitch/create" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'name=string'
{
  "message": "Private Network will be created in a moment",
  "data": {
    "hv_net": "vid6",
    "network_ip": "10.66.245.0/24"
  }
}