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

Documentation Index

Fetch the complete documentation index at: https://docs.traza.com.au/llms.txt

Use this file to discover all available pages before exploring further.

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