@@ -4995,7 +4995,7 @@ Example response:
49954995 "type": "domain",
49964996 "description": "cool domain",
49974997 "domain": "cool.domain",
4998- "certificate": "cool_certificate",
4998+ "certificate": "cool_certificate",
49994999 "destination": "http://10.24.42.1",
50005000 "location": "/",
50015001 "allow": [
@@ -5196,6 +5196,7 @@ All parameters:
51965196- ` dhcp_vendor_class` : Vendor class to send when requesting DHCP
51975197- ` dhcp_hostname_to_send` : Hostname to send when requesting DHCP, can be ` deviceHostname` , ` doNotSendHostname` or ` customHostname`
51985198- ` dhcp_custom_hostname` : Custom hostname to use when ` dhcp_hostname_to_send = customHostname`
5199+ - ` metric` : Routing metric for the interface, if left empty, system will assign an incremental value
51995200
52005201` ` ` bash
52015202api-cli ns.devices configure-device --data ' {"device_type": "physical", "interface_name": "myiface", "protocol": "static", "zone": "lan", "ip6_enabled": false, "device_name": "eth2", "ip4_address": "10.20.30.40/24"}'
@@ -6021,7 +6022,7 @@ api-cli ns.threatshield dns-edit-blocklist --data '{ "blocklist": "blocklist_nam
60216022Response example:
60226023```json
60236024{"message": "success"}
6024- ```
6025+ ```
60256026
60266027### dns-list-settings
60276028
@@ -8407,7 +8408,7 @@ Add a wireguard tunnel as a client
84078408api-cli ns.wireguard add-tunnel --data ' {"enabled": true, "name": "HQ Milan", "reserved_ip": "10.2.13.4", "server_public_key": "XXX", "peer_private_key": "XXX", "pre_shared_key": "XXX", "route_all_traffic": true, "network_routes": [""], "endpoint": "wireguard.example.com", "udp_port": 51121, "dns": ["192.168.1.1"]}'
84088409` ` `
84098410
8410- Parameters:
8411+ Parameters:
84118412- ` enabled` : create the tunnel as active if ` true` , inactive if ` false`
84128413- ` name` : the name of the tunnel
84138414- ` reserved_ip` : the reserved IP address for the tunnel
@@ -8446,7 +8447,7 @@ Parameters:
84468447
84478448# ## ns.ha
84488449
8449- The following APIs are available for managing High Availability (HA) configuration.
8450+ The following APIs are available for managing High Availability (HA) configuration.
84508451
84518452# ### import-network-config
84528453
0 commit comments