PATCH/api/apps/room_booking/{installation_id}/calendars/{id}/bookings/{booking_id}/end

End a booking in progress now

Frees the room: the booking ends at the current time. Only a booking made through TRMNL that is in progress.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

3 parameters
installation_idstringrequired
Room booking installation id
idstringrequired
Calendar id
booking_idintegerrequired
Booking id

4 status codes
200Ended
dataobjectoptional
401Unauthorized
errorstringoptional
402Billing is locked until the subscription is settled
404A booking that has not started

Error handling

A 401 is returned: Unauthorized. A 402 is returned: Billing is locked until the subscription is settled. A 404 is returned: A booking that has not started.