How to reboot the device

Introduction

Use the System call to reboot the IXrouter.

Usage

Rebooting the IXrouter requires authentication, so make sure you obtain a valid session ID first, see How to authenticate to the API.

Use the reboot method of ixon.ui.system to reboot the device.

curl --request POST \ --url "192.168.140.1/ubus" \ --data ' { "jsonrpc": "2.0", "id": 1, "method": "call", "params": [ "0a3e1036df206a33fcd6573a524c1ef2", "ixon.ui.system", "reboot", {} ] }'
{ "jsonrpc": "2.0", "id": 1, "result": [ 0, { "code": 0 } ] }

📘

Required firmware version

The reboot system call is available in firmware 3.23 or higher.


Did this page help you?