Set User Preferences
-
Description
POST /set_user_conf HTTP/1.1
{
"no_nosim_alert":true|false, // Suppress the "No SIM" alert (default: false)
"no_low_power_alert":true|false, // Suppress the "Low Battery" alert (default: false)
"no_idle":true|false, // Insomnia mode: keep device awake (effective only when remote service is enabled)
"script_on_daemon":true|false, // Daemon mode; cannot be enabled while a script is running
"script_end_hint":true|false // Display a notification when a script stops (default: false)
} -
Possible Responses
{"code":0,"message":"Success"}{"code":1,"message":"Cannot perform this while a script is running"}{"code":8,"message":"Invalid parameters"}