/trip/delete
From EveryTrail API Developer Documentation
Contents |
URL
/api/trip/delete
Semantics
Deletes a trip from the database, keeps all pictures, waypoints, and pictures in the user's account. This will perform a soft delete.
Parameters
| Parameter name | Parameter format | Required | Description |
|---|---|---|---|
| username | string | yes | username of user performing the request |
| password | string | yes | password of user performing the request |
| trip_id | int | yes | id of the trip |
Success Response
<etTripDeleteReponse status="success"> <tripID>${trip ID}</tripID> </etTripDeleteResponse>
${trip ID}: ID of trip on the server as int
Error Reponse
<etTripDeleteReponse status="error"> <tripID>${trip ID}</tripID> ${error reponse} </etTripDeleteReponse>
${trip ID}: ID of the trip on the server
${error reponse}: See format in Error Reponse Format
