def delete_datapoints(conn, metric_names_list, start_time,
                      end_time=None, tags=None):
    query = reader._query_absolute(start=start_time, end=end_time)
    query["metrics"] = [{"name" : m } for m in metric_names_list]
    if tags:
        query = reader.add_tags_to_query(query, tags)
    delete_url = conn.delete_dps_url
    return requests.post(delete_url, json.dumps(query))
Deletes data points.
dataset/ETHPy150Open pcn/pyKairosDB/pyKairosDB/deleter.py/delete_datapoints