v1
latestOpenAPI 3.0.32026-07-2632131.4 MBHouse Rules
Update unit-type house-rules
put/properties/house-rules/unit-type/{unitTypeId}
Path parameters
unitTypeIdstring required
ID of the requested unitType
Request body
Example request
{
"childrenRules": {
"suitableForChildren": true,
"suitableForInfants": true,
"reason": "Children rules reason"
},
"petsAllowed": {
"enabled": true,
"chargeType": "Credit"
},
"smokingAllowed": {
"enabled": false
},
"suitableForEvents": {
"enabled": false
},
"additionalRules": "No alcohol",
"quietBetween": {
"enabled": true,
"hours": {
"start": "22:00",
"end": "08:00"
}
},
"minimumAge": 21
}Response
When successfully updated