Overview
useWithdrawRsvp returns a callable that removes the logged-in user’s RSVP. The RSVP row is deleted and the matching count decremented. The user can always withdraw their own RSVP, also from an event they can no longer see (for example after leaving its space). Withdrawing with no RSVP succeeds and changes nothing if they can see the event, and answers 404 if they can’t.
Usage Example
Parameters
Returns
Returns aPromise<WithdrawRsvpResponse>: the Event with refreshed rsvpCounts, or, when the logged-in user can no longer see the event, only { id, userRsvp: null }.

