DELETE/api/book/{token}/bookings/{id}

Cancel an upcoming public booking

Public: no bearer token. Only a booking made through TRMNL that has not started.

2 parameters
tokenstringrequired
The room public booking token
idintegerrequired
Booking id

3 status codes
204Canceled
404A booking made outside TRMNL, or one on another room
410Unknown token, Booking with TRMNL off, or a room that cannot be booked: all look the same

Error handling

A 404 is returned: A booking made outside TRMNL, or one on another room. A 410 is returned: Unknown token, Booking with TRMNL off, or a room that cannot be booked: all look the same.