Change, move or archive an area
patch/lodging/areas/{id}
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:admin- Mcp
rivier_lodging_area_update- Sdk
bookings.area.update- Cli
bookings area update
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- parentIdstring (uuid) or null
- kindstringOne of: building, wing, floor, area.
- namestringAt most 120 characters.
- levelinteger or null
- contentobjectDefault: {}.
- positionintegerDefault: 0. At least 0. At most 10000.
- statusstringOne of: active, archived.
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