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

shahab8 months 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

shahab8 months ago

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

Anton Tananaev8 months ago

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

Disabling a device doesn't delete anything.

shahab8 months ago

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

Anton Tananaev8 months ago

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