deleteTrip API Endpoint

Use the deleteTrip API endpoint to delete a trip and its associated data. This means ignoring existing trip data, all future API responses, and driver score computations. Once deleted, a trip has no impact on the driver’s scores anymore.

Delete Trip

GET -X DELETE https://api.zendrive.com/v4/driver/{driver_id}/trip/{trip_id} -H

Ignore a specified trip and all its data.

Query Parameters

Name
Type
Description

driver_id

String

A unique ID associated with the driver

trip_id

String

A unique ID associated with the trip

Headers

Name
Type
Description

Authorization*

String

API KEY <APIKEY>

{
    "success": true
}
//In case of failure
{
    "error": "trip_id 1426131047984 is not valid"
}

apikey is the only query parameter.

Was this helpful?