Change or archive a custom amenity
patch/lodging/custom-amenities/{id}
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:admin- Mcp
rivier_lodging_custom_amenity_update- Sdk
bookings.customAmenity.update- Cli
bookings custom amenity update
Parameters
- idstringrequiredIn the path
Request bodyapplication/json, required
- iconstringPattern: ^[A-Za-z0-9]{1,40}$.
- labelsobject
- 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