DewaVPS

Change public network instance

PATCH
/instance/{instance_uuid}/ip/change

Change or remove the public IP address on an instance.

Authorization

ApiKeyAuth
x-apikey<token>

In: header

Path Parameters

instance_uuid*string

UUID of the instance

Formatuuid

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://api.dewavps.com/v1/instance/497f6eca-6276-4993-bfeb-53cbbbba6f08/ip/change" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d ''
{
  "message": "Instance's Public Network successfully changed.",
  "data": {
    "instance": "868cf2e9-bd6d-4bac-96ba-2b08120d8cf9",
    "public_ip": "string"
  }
}