Fetch one NAS

GET /api/v1/admin/nas/{id} prm_nas_index

View as Markdown

The full device record, including tunnel and operator-VPN configuration.

Read tunnel_transport to decide how to render a device, never "whichever tunnel IP is non-null". A NAS keeps its standby allocations after switching transport, so more than one of wg_tunnel_ip, ovpn_tunnel_ip and sstp_tunnel_ip is set on any device that ever changed. active_tunnel_ip is the database's own resolution of that question.

At a glance

Authentication
Staff token or session
Requires permission
prm_nas_index View NAS

Parameters

Parameter Description
idrequired path · integer NAS id.

Errors

Code When it is returned
ERR_NOT_FOUND404 no such NAS in this tenant

Try it on your own network.

50 subscribers for 7 days. You pay nothing.