Delete a trip
delete_tripPermanently delete a trip and every booking on it. There is no undo. Only the trip's owner can do this. Called without confirm it deletes nothing and reports what would be lost; show that to the traveler, and only call again with confirm=true once they have agreed in plain words.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | true only after the traveler has agreed to the deletion. | |
| trip_id | Yes | The trip's id, from list_trips. |