Delete Trip API

This API helps you to delete an existing trip.

delete
Delete Trip API

https://api.roam.ai/v1/api/trips/
Request
Response
Request
Headers
Api-key
required
string
Auth-key E.g.- 33223kjhdcscijhb5sdbsdmjsdcbj5f
Query Parameters
trip_id
required
string
Trip id which needs to be deleted. E.g.- 5cd0299d77aebe2d78758d32
Response
200: OK
{
"status": true,
"msg": "Trip deleted successfully.",
"code": 200,
"data": null
}

Sample Request

curl --location --request DELETE 'https://api.roam.ai/v1/api/trips/?trip_id=<TRIP-ID>' \
--header 'Content-Type: application/json' \
--header 'Api-key: <API-KEY>'