What happened to my device history data(position,trips,summary) if i deleted my vehicle

shahaba year ago

Hello everyone, i am using 2 backend.

  1. my own backend
  2. tracker for live location, analytics history like position, trips and all

now my front end talk to my own backend and i want to make delete vehicle api, i just want to know that if i delete vehicle in traccar does, their analytics data also deleted or it will remain and how can i access them if i store deviceid before deleting the vehicle

shahaba year ago

and also if i disable my vehicle instead of deleting it, does my vehicle live data will come?

Anton Tananaeva year ago

When you delete a device, all history will be deleted automatically as well.

Disabling a device doesn't delete anything.

shahaba year ago

If i disable my vehicle instead of deleting it, does my vehicle live data will come in /api/socket?

Anton Tananaeva year ago

There won't be any new data for a disabled device. That's the whole point of disabling it.