DewaVPS

Update private network instance

PATCH
/instance/{instance_uuid}/vswitch

Attach or detach an instance from a private network (vswitch).

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/vswitch" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'vswitch=fb6d0b67-c902-4338-a7e5-ba95f66879cf'
{
  "message": "string",
  "data": {
    "vm_uuid": "5afb774f-8216-4579-b1f7-69c6de398477"
  }
}