Set Device Auto Recovery

PUT {{baseUrl}}/v1/device/:deviceUid/auto-recovery

Set configuration of device auto recovery process if device supports that.

Parameters

FieldTypeRequiredDescription
enabledbooleanrequiredIndicates whether peer recovery should be enabled or disabled
healthcheckIntervalMsintegerrequiredWhen auto recovery is enabled, watchdog in node process checks periodically browser process with interval specified in ms. This attribute is required only if enabled is true
autoEnableTimeoutMsintegerrequiredWhen peer recovery is disabled, a time period in ms can be specified, after which the process is enabled automatically. This attribute is required only if enabled is false

Request Body

{"enabled"=>"<boolean>", "healthcheckIntervalMs"=>"<integer>", "autoEnableTimeoutMs"=>"<integer>"}

HEADERS

KeyDatatypeRequiredDescription
x-authstringAuthorization key and token
Content-Typestring
Content-Typestring
Acceptstring

RESPONSES

status: OK

{}