Overview
useDeclineMember returns a callable function for declining a pending join request. Sets the membership status to "rejected". Requires the caller to be a moderator or admin.
Usage Example
Parameters
UUID of the space.
UUID of the membership record to decline.
Returns
Confirmation message.
Updated membership with
id and status: "rejected".
