Skip to main content

Overview

useFetchSpaceTeam returns a callable function that fetches all admins and moderators of a space in a single non-paginated response. This is useful for displaying the space’s leadership team.

Usage Example

Parameters

string
required
UUID of the space.

Returns

Returns a SpaceMemberWithUser[] array: all admins and moderators with active status, including embedded user details (user is null when the user record no longer exists). When spaceReputation is requested, each embedded user carries an added spaceReputation number. See SpaceMember and Reputation.