Properties
Delete a listing
DELETE
Access: Bearer token required. Also requires: Caller must be the listing's landlordId.
Soft-deletes a property. Only the listing's landlordId may call it. The record is kept so bookings, escrow transactions and reviews that reference it still resolve, but deletedAt is stamped and status is set to unlisted, which removes it from search, browse, GET /property/{id}, /property/me and link previews. There is no undo endpoint, and the code does not check for active bookings or escrows before deleting. Reviews and wishlist entries for the property are left in place.
bearerAuthheader
AuthorizationBearer <JWT>Access token returned by sign-in. Send it as Authorization: Bearer <token>.
id*stringObjectId of the property to delete.
The property was soft-deleted. data is null.
application/json- response
status*integersuccess*booleanmessage*stringdata*unknowncurl -X DELETE 'http://localhost:4000/api/v1/property/string'Example Response
{ "status": 200, "success": true, "message": "Property deleted successfully", "data": null}
HomeLink Hub