Overview
useApproveMember returns a callable function for approving a pending join request. Sets the membership status from "pending" to "active". Requires the caller to be a moderator or admin.
Usage Example
Parameters
string
required
UUID of the space.
string
required
UUID of the membership record to approve.
Returns
string
Confirmation message.
object
Updated membership with
id, status: "active", and joinedAt.
