Set a room clean, dirty, inspected or out of order
put/lodging/unit-state/{id}
Set a room clean, dirty, inspected or out of order. Out of order and inspected are a person's call.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:write- Sdk
bookings.unit.setState- Cli
bookings unit set state
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- statestringrequiredOne of: clean, dirty, inspected, out_of_order.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring