List All Peers
Returns a list of all peers in your network.string
Filter peers by name
string
Filter peers by IP address
string
Unique peer identifier
string
Peer’s hostname or custom name
string
Peer’s assigned NetBird IP address
string
Peer’s public connection IP address
boolean
Peer to Management connection status
string
Last time peer connected to management service (ISO 8601)
string
Peer’s operating system and version
string
NetBird daemon version running on the peer
array
Groups that the peer belongs to
boolean
Indicates if SSH server is enabled on this peer
string
Peer’s FQDN for DNS resolution
boolean
(Cloud only) Indicates if peer needs approval
Get a Peer
Retrieve detailed information about a specific peer.string
required
The unique identifier of the peer
Example
Update a Peer
Update peer configuration including name, SSH status, and expiration settings.string
required
The unique identifier of the peer
string
required
Peer’s hostname or custom name
boolean
required
Enable or disable SSH server on this peer
boolean
required
Enable or disable login expiration for this peer
boolean
required
Enable or disable inactivity expiration for this peer
boolean
(Cloud only) Indicates if peer needs approval
string
Custom IP address for the peer (IPv4 format)
Delete a Peer
Remove a peer from the network.string
required
The unique identifier of the peer
Example
List Accessible Peers
Returns a list of peers that a specific peer can connect to based on policies.string
required
The unique identifier of the peer
Create Temporary Access Peer
Create a temporary access peer for short-term access to a specific peer. The temporary peer and its policies are automatically deleted after it disconnects.string
required
The unique identifier of the peer to grant access to
string
required
Temporary peer’s hostname
string
required
WireGuard public key of the temporary peer
array
required
List of access rules (e.g., [“tcp/80”, “tcp/443”])
Temporary access peers are designed for support sessions, debugging, or temporary contractor access. They automatically clean up when disconnected.
Peer Status Indicators
Connected
Peer is online and connected to the management server
Disconnected
Peer is offline or hasn’t connected recently
Login Expired
User needs to re-authenticate on this peer
Pending Approval
Peer requires admin approval before joining