Render the onboarding script for a NAS

GET /api/v1/admin/nas/{id}/onboarding-script prm_nas_update

View as Markdown

Returns the RouterOS script that configures the device to talk to this platform: RADIUS client, accounting, the management tunnel and the captive portal redirect. Rendered for this specific device.

The script contains the device's shared secret and tunnel credentials in the clear, because the router needs them. Treat the response as a secret, and do not log it.

At a glance

Authentication
Staff token or session
Requires permission
prm_nas_update Edit NAS

Parameters

Parameter Description
idrequired path · integer NAS id.

Try it on your own network.

50 subscribers for 7 days. You pay nothing.