- API Reference
- Box API
- Devices
Restart or reboot an XLE network adapter
Use this when an XLE adapter's modems stop answering. reset restarts the adapter service after 2 s; reboot reboots the adapter; delete does nothing here (use the panel to remove an adapter). Refused in slave mode. Always answers success otherwise, without checking the adapter.
/action_adapterRequest body application/json · required
Adapter IP from GET /get_adapter_list.
reset, reboot, deleteAuthentication
Needs dashboard Basic credentials when dashboard authentication is enabled; trusted callers (loopback, LAN unless "force auth for local" is on, whitelisted IP, allowed Tailscale) pass without them.
Responses
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.
Unhandled error, for example a non-integer position or a missing required parameter.
Error name, e.g. internal_server_error or bad_request.
Errors returned in msg
| msg | Meaning | What to do |
|---|---|---|
Please Turn off Slave mode first! | The box runs in slave mode and does not manage adapters. | Run it on the master box or turn slave mode off. |