Deactivate apartment for provider
PUT/v2/apartment/deactivate
Operation ID: deactivateApartment
Takes the apartment offline: it is no longer visible or bookable on Holidu. Holidu does not deactivate an apartment because its calendar is closed or empty, so deactivate every apartment that can no longer be booked on your side (for example a closed calendar) instead of only removing its availability. Deactivating an inactive apartment changes nothing.
Request
Responses
- 200
- 400
- 401
- 404
- 500
Deactivate action on apartment succeeded; the body is the plain text OK
Bad Request
Authentication error
Apartment does not exist
Internal server error