def log_flush_for_interval(self, log_type, interval):
        """Flush logs for an interval of time.

        Args:
            log_type (str): Only documented type is "policies". This
                will be applied by default if nothing is passed.
            interval (str): Combination of "Zero", "One", "Two",
                "Three", "Six", and "Day", "Week", "Month", "Year". e.g.
                ("Three+Months") Please note: The documentation for this
                specifies the singular form (e.g. "Month"), and plural
                ("Months") at different times, and further the
                construction is listed as "THREE MONTHS" elsewhere.
                Limited testing indicates that pluralization does not
                matter, nor does capitalization.
                Please test!

                No validation is performed on this prior to the request
                being made.

        Raises:
            DeleteError if provided url_path has a >= 400 response.
        """
        if not log_type:
            log_type = "policies"

        # The XML for the /logflush basic endpoint allows spaces
        # instead of "+", so do a replace here just in case.
        interval = interval.replace(" ", "+")

        flush_url = "{}/{}/interval/{}".format(
            self.url, log_type, interval)

        self.jss.delete(flush_url)