Immobilisation

Turning Immobiliser on:

The immobiliser can be switched on for a given device by sending an authenticated POST request to /asset/{assetId}/immobilisation.


The following cURL example shows what this looks like:

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


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 Immobiliser off:

The immobiliser can be switched off for a given deivce by sending an authenticated DELETE request to /asset/{assetId}/immobilisation.


The following cURL example shows what this looks like:

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


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.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.