Skip to main content
POST
/
bookings
/
cancel-booking
Cancel Booking
curl --request POST \
  --url http://localhost:3000/api/bookings/cancel-booking \
  --header 'Content-Type: application/json' \
  --data '
{
  "bookingId": "<string>"
}
'
{
  "success": true
}

Body

application/json
bookingId
string
required

ID of the booking to cancel

Response

200 - application/json

Booking cancelled successfully

success
boolean
required

Whether the operation was successful