Overview
useUpdateMemberRole returns a callable function for changing a space member’s role. Only admins can update roles.
Usage Example
Parameters
UUID of the space.
UUID of the membership record to update.
The new role to assign.
Returns
Confirmation message.
Updated membership with
id, role, status, joinedAt, and userId.
