Push Deleted Driver
Introduction
There are use cases where the DriveQuant whitelabel application allows users to delete their accounts.
After a user requests account deletion from the application, their data will be permanently deleted from the DriveQuant platform after a 30-day grace period, provided that during this period the user does not reconnect to the application or record any trips.
If the user reconnects or any trip is recorded within these 30 days, the deletion request will be cancelled and the data will be retained.
If the user does not reconnect and no trip is recorded within these 30 days, all user-related data is permanently deleted from the DriveQuant platform.
To replicate this deletion on your system, a push deleted user service can be configured to notify you when a user deletion is finalized.
Principle
The push deleted driver sends the event information as soon as the user data is deleted on DriveQuant platform.
Configuration
See Configuration in the parent section.
The body of the request is a JSON object with a set of fields that contain the unique identifier of the trip and the trip modification event.
Your service should respond with a 2xx http status code (typically 200 OK) when the push request is accepted. Any other code will be considered as a failure, and the service will attempt to send the data again until the request is acknowledged.
If your service responds with a 2xx http status code, while the data has not been accepted by your platform, then there will be no further attempt to send the data!
Retry Policy
Every push request not successfully acknowledged by your service will be retried once a day.
Sample Message
The Push Data API specification can be downloaded here in OpenAPI YAML format.
Last updated
Was this helpful?

