:param closure: optional filter of the results :py:QueryBuilder
        :returns: a list of devices (as dictionaries) in organization
        :raises: HTTP errors

def listDevicesIn(self, organization, closure=lambda x: True):
        """
        :param closure: optional filter of the results :py:QueryBuilder
        :returns: a list of devices (as dictionaries) in organization
        :raises: HTTP errors
        """
        url = self.BASE_URL+self.BASE_PATH+self.ORGS_PATH+"/"+ str(organization["id"]) + self.DEVICES_PATH+self.USER_QUERY
        response = self.requests.get(url, auth=(self.__username, self.__password))
        response.raise_for_status()
        return list(filter(closure, response.json()["devices"]))