API Reference
Control your proxies via API
Hard reboots a proxy server.
cURL
curl --request POST \ --url https://cmd.illusory.io/v1/proxies/reboot/{proxyName} \ --header 'Authorization: Bearer <token>'
{ "ok": true, "message": "Power cycle command sent to device successfully.", "data": { "proxy_name": "ILL-US-AU1-9999", "last_reboot": "2050-12-04T17:43:16.407+00:00" } }
The Authorization header is used to authenticate with the API using your Master API key. Value is of the format Bearer YOUR_KEY_HERE.
Authorization
Master
Bearer YOUR_KEY_HERE
Replace {proxyName} in the url path with YOUR_PROXY.
{proxyName}
YOUR_PROXY
Server response
Indicates whether the request was successful e.g., true
true
Success message
"Power cycle command sent to device successfully."
Show child attributes
Unique identifier of the proxy server
"ILL-US-AU1-9999"
Timestamp of when the proxy was last rebooted
"2050-12-04T17:43:16.407+00:00"
Was this page helpful?