Update Device Peer Recovery

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

Set device peer recovery on the device by deviceUid.

Parameters

FieldTypeRequiredDescription
enabledbooleanrequiredIndicates whether peer recovery should be enabled or disabled
urlLauncherAddressstringrequiredWhen peer recovery is enabled, this URL address has to be set in URL launcher on device that is recovered. 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>", "urlLauncherAddress"=>"<string>", "autoEnableTimeoutMs"=>"<integer>"}

HEADERS

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

RESPONSES

status: OK

{}