Wiki Home Settings page Remote reboot CCBoot Client via API
Remote reboot CCBoot Client via API
2024-10-11
api, client, reboot
The following explains how to use API commands to power on, reboot, or shut down PCs and consoles.
Api for PCs
- To send a reboot command to a client PC via the API, find the appropriate API in the link below.
https://dev.icafecloud.com/docs/#pc-sessions-apis-POSTapi-v2-cafe--cafeId--pcSessions-sendWssCommand - For command use “power” (Figure 1)
- We support 3 different commands as "reboot", "shutdown", "poweron"
{"action":"power", "target":"boot","data":{"power_type":"reboot","ids":[24]}}
Figure 1
Api for Consoles
- API Command to Power On Consoles:
{"action":"ewelink_switch", "target":"server","data":{device_names: ['xbox01'], device_ids: ['mac_address_of_console'], switch: 'on', staff: 'staffname'}}