When we provision trackers to our customers via dealers, our provisioning system uses API calls to send some commands to trackers. Sometimes our dealers do this initial work at home before going to a customer (for mobile dealers, anyway). It's helpful because any issues with SIM cards, firmware updates or config pushing is handled without the customer being witness to this.
So that customers also do not see the dealer's home address, at handover time we make use of the API to delete position records (https://www.traccar.org/api-reference/#tag/Positions/paths/~1positions/delete).
However, when doing this it does mean that for any Event reports that include this first day post handover, the event report shows the following error:

Ergo, it would be helpful if the API offered the ability to delete Events for a time range, as well as positions.
OK we've written the code for this and it works. We'll submit a Pull Request for it soon.
When we provision trackers to our customers via dealers, our provisioning system uses API calls to send some commands to trackers. Sometimes our dealers do this initial work at home before going to a customer (for mobile dealers, anyway). It's helpful because any issues with SIM cards, firmware updates or config pushing is handled without the customer being witness to this.
So that customers also do not see the dealer's home address, at handover time we make use of the API to delete position records (https://www.traccar.org/api-reference/#tag/Positions/paths/~1positions/delete).
However, when doing this it does mean that for any Event reports that include this first day post handover, the event report shows the following error:

Ergo, it would be helpful if the API offered the ability to delete Events for a time range, as well as positions.