Delete a booking
delete_bookingRemove one booking from a trip. It cannot be restored, though you can add it again. For a flight, pass segment_id to remove just one segment; leave it out to remove the whole booking. This only removes the booking; the trip stays.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip_id | Yes | The trip the booking is in. | |
| booking_id | Yes | The booking's id, from get_trip. | |
| segment_id | No | Flights only: remove just this segment. | |
| booking_type | Yes | What kind of booking it is. |