Turining Recovery Mode on:

Recovery Mode can be switched on for a given device by sending an authenticated POST request to /asset/{assetId}/recoverymode.


The following cURL example shows what this looks like:

curl    -X POST \
        -H "Authorization: bearer ${token}" \
        -H "Content-Length: 0" \
        "${url}/asset/${assetId}/recoverymode"


A successful request will yeild a HTTP response of 200 with no response body. A failed request will yeild a HTTP response of 500 with en error message in the response body.


Turning Recovery Mode off:

Recovery Mode can be switched off for a given deivce by sending an authenticated DELETE request to /asset/{assetId}/recoverymode.


The following cURL example shows what this looks like:

curl    -X DELETE \
        -H "Authorization: bearer ${token}" \
        "${url}/asset/${assetId}/recoverymode"


A successful request will yeild a HTTP response of 200 with no response body. A failed request will yeild a HTTP response of 500 with en error message in the response body.