Members APICollections
Remove Favorite
Remove a property from all favorites collections
DELETE
/members/me/collections/favorites/{propertyDocumentId}Overview
Removes a property from the member's favorites. This action removes the property from ALL collections it may be in, not just one specific collection.
Authentication
Requires a valid Clerk JWT token in the Authorization header.
Path Parameters
propertyDocumentIdpathstringrequiredProperty document ID to remove from favorites
Request
curl -X DELETE "http://localhost:3000/v1/members/me/collections/favorites/prop_luxury_maldives" \
-H "Authorization: Bearer YOUR_CLERK_JWT"Response
Response
// No content returned on successful deletionBehavior
Complete Removal
- All Collections: Property is removed from ALL collections it exists in
- Default Collection: Also removed from the default "Favorites" collection
- Permanent: Action cannot be undone (property must be re-favorited)
Not Found Handling
- No Error: Returns 204 even if property wasn't favorited (idempotent)
- Invalid Property: Returns 404 for malformed property document IDs
- Graceful: Safe to call multiple times
Related Endpoints
- Add Favorite - Add property back to favorites
- Check Favorite Status - Check if property is favorited
- Get Favorites - View current favorites