Update Device Peer Recovery
PUT {{baseUrl}}/v1/device/:deviceUid/peer-recovery
Set device peer recovery on the device by deviceUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
enabled | boolean | required | Indicates whether peer recovery should be enabled or disabled |
urlLauncherAddress | string | required | When 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 |
autoEnableTimeoutMs | integer | required | When 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
Key | Datatype | Required | Description |
---|---|---|---|
x-auth | string | Authorization key and token | |
Content-Type | string | ||
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{}