Turining 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.