Get an individual node
GET /api/nodes/{network}/{nodeid}
Authorizations
Responses
200
OK
object
object
object
object
Network number
Network mask
object
object
AllowedIPs specifies a list of allowed IP addresses in CIDR notation for this peer.
object
Network number
Network mask
Endpoint specifies the endpoint of this peer entry, if not nil.
object
IPv6 scoped addressing zone
PersistentKeepaliveInterval specifies the persistent keepalive interval for this peer, if not nil.
A non-nil value of 0 will clear the persistent keepalive interval.
PresharedKey specifies a peer’s preshared key configuration, if not nil.
A non-nil, zero-value Key will clear the preshared key.
PublicKey specifies the public key of this peer. PublicKey is a mandatory field for all PeerConfigs.
Remove specifies if the peer with this public key should be removed from a device’s peer list.
ReplaceAllowedIPs specifies if the allowed IPs specified in this peer configuration should replace any existing ones, instead of appending them to the allowed IPs list.
UpdateOnly specifies that an operation will only occur on this peer if the peer already exists as part of the interface.
object
object
Network number
Network mask
object
Network number
Network mask
== PRO ==
object
object
object
object
object
Network number
Network mask
object
object
object
AllowedIPs specifies a list of allowed IP addresses in CIDR notation for this peer.
object
Network number
Network mask
Endpoint specifies the endpoint of this peer entry, if not nil.
object
IPv6 scoped addressing zone
PersistentKeepaliveInterval specifies the persistent keepalive interval for this peer, if not nil.
A non-nil value of 0 will clear the persistent keepalive interval.
PresharedKey specifies a peer’s preshared key configuration, if not nil.
A non-nil, zero-value Key will clear the preshared key.
PublicKey specifies the public key of this peer. PublicKey is a mandatory field for all PeerConfigs.
Remove specifies if the peer with this public key should be removed from a device’s peer list.
ReplaceAllowedIPs specifies if the allowed IPs specified in this peer configuration should replace any existing ones, instead of appending them to the allowed IPs list.
UpdateOnly specifies that an operation will only occur on this peer if the peer already exists as part of the interface.
object
500
Internal Server Error