- API Reference
- Box API
- Modem reboot
Reboot the modem behind one proxy (legacy query-string form)
Use this only for existing integrations; new code should use /api/v1/reboot/proxy/{proxy}. Needs the IP rotation feature in the license (need_upgrade otherwise). A non-answering router-type modem gets a USB reset instead.
/reboot_usbQuery parameters
Proxy address as HOST:PORT, for example 192.0.2.10:4001. Only the port selects the slot.
192.0.2.10:4001Authentication
Open by default: with "Basic auth for all API" (api_auth_check) off, anyone who can reach the box can call it. When it is on, the caller must be trusted (loopback, LAN unless "force auth for local" is on, whitelisted IP, allowed Tailscale) or send dashboard Basic credentials, which are checked only when dashboard authentication (dashboard_disable_auth off) is enabled.
Responses
Reboot result.
True when the box accepted the request.
Outcome code or message (see the operation's error table).
The caller is not trusted (not loopback, LAN, whitelisted or allowed Tailscale) and sent no valid Basic credentials. The body depends on whether "Basic auth for all API" is on. Routes that also use the panel login can answer a plain-text 401 "Unauthorized Access" instead.
Errors returned in msg
| msg | Meaning | What to do |
|---|---|---|
need_upgrade | The license does not include IP rotation. | Upgrade the license. |
invalid_format_proxy | proxy is missing or not HOST:PORT. | Send proxy=HOST:PORT. |
Not found! | No slot uses this port. | Use a port from /api/v1/info_list. |
Reboot failed: modem did not answer | The modem ignored the reboot and no USB reset was possible. | Check the modem on site. |
Modem disconnected! | The slot has no modem the box can reboot. | Check the modem in the panel. |