m2x/v2/streams.py
def delete_values(self, start, stop):
        """ Method for `Delete Data Stream Values <https://m2x.att.com/developer/documentation/v2/device#Delete-Data-Stream-Values>`_ endpoint.

        :param start: ISO8601 timestamp for starting timerange for values to be deleted
        :param stop: ISO8601 timestamp for ending timerange for values to be deleted

        :return: The API response, see M2X API docs for details
        :rtype: dict

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        return self.api.delete(self.subpath('/values'), data=self.to_server({
            'from': start,
            'end': stop
        }))
def delete_values(self, start, stop):
        """ Method for `Delete Data Stream Values <https://m2x.att.com/developer/documentation/v2/device#Delete-Data-Stream-Values>`_ endpoint.

        :param start: ISO8601 timestamp for starting timerange for values to be deleted
        :param stop: ISO8601 timestamp for ending timerange for values to be deleted

        :return: The API response, see M2X API docs for details
        :rtype: dict

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        return self.api.delete(self.subpath('/values'), data=self.to_server({
            'from': start,
            'end': stop
        }))
Method for `Delete Data Stream Values <https://m2x.att.com/developer/documentation/v2/device#Delete-Data-Stream-Values>`_ endpoint.

        :param start: ISO8601 timestamp for starting timerange for values to be deleted
        :param stop: ISO8601 timestamp for ending timerange for values to be deleted

        :return: The API response, see M2X API docs for details
        :rtype: dict

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request