CTL_STATUS_t ctl_xively_datapoint_delete_range(CTL_XIVELY_DATASTREAM_t *self,
                                               const CTL_XIVELY_TIMESTAMP_t *start,
                                               const CTL_XIVELY_TIMESTAMP_t *end);

ctl_xively_datapoint_delete_range sends a request to the Xively API to delete the datapoints with timestamps start through end from the datastream self in the feed that the datastream is registered to. This function does not remove data from the local datastream buffer: it is a direct request using a live connection to the Xively server.

Return Value

ctl_xively_datapoint_delete_range returns a standard status code.