Unassign a tracker
https://lemurseye.com/api/v1/devices/{id}/unassignTakes a tracker off its vehicle. Its positions are still received, but belong to no vehicle until it is assigned again. No body.
Permission: device:write. The token is sent as Authorization: Bearer <token>; see Authentication.
Path parameters
iduuidrequiredThe tracker's id.
Response
200 The tracker, with vehicleId null.
Response fields
iduuidThe tracker's id (not its IMEI).
imeistringThe identifier the tracker reports with. For the phone app, the device ID shown in the app.
protocolstring | nullgt06(Concox),teltonika,h02(SinoTrack),osmand(the phone app) orother.modelstring | nullHardware model, for your records.
simMsisdnstring | nullThe SIM's phone number.
statusstringREGISTERED, orDECOMMISSIONEDonce retired: its positions are then refused.vehicleIduuid | nullThe vehicle it is fitted to, or null.
traccarIdinteger | nullInternal id in the position bridge. Null for a moment after registering; repaired automatically.
notesstring | nullFree text, e.g. where it is installed.
createdAttimestampWhen it was registered.
decommissionedAttimestamp | nullWhen it was retired, or null.
Errors
Where a message is listed, it comes back as JSON: { "error": "..." }. Otherwise only the status code is returned.
- 404
device not foundNo tracker with this id.
- 409
device is decommissionedThe tracker is retired.
- 401
No token, or it has expired.
- 403
The token lacks the permission above.