Skip to main content

Replace the amenity set mapped to a property space

POST 

/api/v1/pms/property-amenities/spaces/:spaceId

Deletes every existing mapping for the given space, then inserts one row per distinct id in the request body. The space and every amenity id must exist. Passing [] clears all mappings for the space. Runs in a single transaction.

Request

Responses

New mapping set applied; returns the resulting amenities.