removeMember

abstract suspend fun removeMember(groupId: GroupId, userId: UserId): Result<Unit>

Removes the given userId from the group with the specified groupId.

Return

a Result indicating the success or failure of the operation.