Reputation: 45
I have set of REST API in Airflow , and I have multiple dags inside my dag bag, but I have deleted one dag. After that, I restarted my Airflow scheduler and web server, but I get the deleted dag as a part of result.
API: (http://0.0.0.0:8080/api/v1/dags )
Airflow version : v2.1.0
How do I avoid getting deleted dags as a result from Airflow REST API?
Upvotes: 0
Views: 157
Reputation: 3681
only from version 2.1.1
You can filter by "only_active" to your request
see api reference
Upvotes: 1