cURL
curl --request DELETE \ --url https://ctechnology.io/api/v2.2/trip/{trip_id} \ --header 'Authorization: <api-key>'
{ "header": { "api_version": "<string>", "status": "<string>", "message": "<string>", "permission_via": [ { "permission": "<string>", "via": "me", "organization_id": "<string>" } ] }, "error": { "id": "<string>", "status": 123, "type": "<string>", "severity": "ALERT", "message": "<string>", "message_i18n": "<string>", "data": {} } }
Deletes a trip.
Note that the API key has to be sent as Token 123 where 123 is the key you received after logging in or by creating on the developer dashboard.
Token 123
123
ID of trip to delete.
Successfully deleted this trip.