DewaVPS

Get private network options

GET
/network/options/vswitches

Retrieve the available private network options for a location.

Authorization

ApiKeyAuth
x-apikey<token>

In: header

Query Parameters

location_id*integer

ID of the location

Response Body

application/json

curl -X GET "https://api.dewavps.com/v1/network/options/vswitches?location_id=0"
{
  "message": "Your Private Networks",
  "data": [
    {
      "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
      "name": "string",
      "tag": 0,
      "location": "string",
      "network_ip": "string",
      "gateway": {
        "uuid": "string",
        "hostname": "string",
        "private_ip": "string"
      },
      "status": "string",
      "created_at": "string"
    }
  ]
}