Delete Trip API v1
This API helps you to delete an existing trip.
Delete Trip API
DELETE
https://api.roam.ai/v1/api/trips/
Query Parameters
Name
Type
Description
trip_id
string
Trip id which needs to be deleted. E.g.- 5cd0299d77aebe2d78758d32
Headers
Name
Type
Description
Api-key
string
Auth-key E.g.- 33223kjhdcscijhb5sdbsdmjsdcbj5f
{
"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>'
Last updated
Was this helpful?