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.
tokenstringrequired
The room public booking token
idintegerrequired
Booking id
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.