DewaVPS

Update private network gateway

PATCH
/network/vswitch/{vswitch_uuid}/gateway

Update the gateway for a specific private network.

Authorization

ApiKeyAuth
x-apikey<token>

In: header

Path Parameters

vswitch_uuid*string

UUID of the private network

Formatuuid

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

public_gateway*string

UUID of the public gateway instance

Response Body

application/json

curl -X PATCH "https://api.dewavps.com/v1/network/vswitch/497f6eca-6276-4993-bfeb-53cbbbba6f08/gateway" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'public_gateway=string'
{
  "message": "string",
  "data": {}
}