function getUserById getUserById(userId: string): User Returns user userId, with their hash and email. Parameters userId: string Return Type User Throws APIException 404 when there is no such user.