Set Device Auto Recovery
PUT/v1/device/:deviceUid/auto-recovery
Set configuration of device auto recovery process if device supports that.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
enabled | boolean | required | Indicates whether peer recovery should be enabled or disabled |
healthcheckIntervalMs | integer | required | When 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 |
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
Responses
- 200
- 400
- 402
- 403
- 404
OK message with link in header
Response Headers
Link
Contains URL pointing to the resource
Bad request
Payment Required - Feature entitlement missing
Forbidden
Not Found