Skip to main content
POST
/
bookings
/
delete-session
Delete Session
curl --request POST \
  --url http://localhost:3000/api/bookings/delete-session \
  --header 'Content-Type: application/json' \
  --data '
{
  "bookingId": "<string>",
  "sessionNumber": 123
}
'
{
  "message": "<string>",
  "bookingId": "<string>"
}

Body

application/json
bookingId
string
required

The ID of the booking

sessionNumber
number
required

The number of the session to delete

Response

Session deleted successfully

message
string
bookingId
string