Remove the dag(you want to delete) from the dags folder and run airflow resetdb.
Alternatively, you can go into the airflow_db and manually delete those entries from the dag tables(task_fail, xcom, task_instance, sla_miss, log, job, dag_run, dag, dag_stats).