Network

Update WireGuard client

Changed on

Replace the configurable settings of an outbound WireGuard client and apply them

put/network/wireguard/clients/{clientId}

Request

  • Base URL
    https://sylve.lan:8181/api
  • URL
    https://sylve.lan:8181/api/network/wireguard/clients/{clientId}
  • Auth
    API key in header Authorization

Path parameters

clientIdinteger required

WireGuard Client ID

Request body

addressesstring[] required
allowedIPsstring[] required
enabledboolean
endpointHoststring required
endpointPortinteger required
fibinteger
listenPortinteger
metricinteger
mtuinteger
namestring required
peerPublicKeystring required
persistentKeepaliveboolean
preSharedKeystring
privateKeystring required
routeAllowedIPsboolean

Response

Success

dataunknown
errorstring
messagestring
statusstring

Changes