/api/system/reboot
Use this interface to reboot.
System configuration editing permissions are required.
Prototype
Protocol |
HTTP/HTTPS GET/POST |
URL |
ip[:port]/api/system/reboot |
Content-Type |
Response: Content-Type: application/json |
Request Cookies
Parameter |
Description |
mwcloud-sid |
A string that is used to identify current logged-in user. |
mwcloud-uid |
Current logged-in username. |
Request URL parameters
Request Example
GET /api/system/reboot HTTP/1.1
Accept: application/json, text/plain, */*
Cookie: mwcloud-sid=OCXWUMGEYPGIAWWOETYXPNMVHDZIAZJP; mwcloud-uid=Admin;
Response Parameters
Parameter |
Description |
Content-Type |
Value: 'application/json; charset=UTF-8' |
Response Body
Response Example
{
"result": 0
}