DewaVPS

Create public network

POST
/network/public/create

Reserve a new public IP address 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.

location_id*integer

ID of the location

Response Body

application/json

curl -X POST "https://api.dewavps.com/v1/network/public/create" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d ''
{
  "message": "Public Network successfully created",
  "data": {
    "ip_address": "192.168.1.243"
  }
}