set_dag_paused
Pause or unpause a DAG to control its scheduling using the DAG ID and is_paused flag.
Instructions
Pause or unpause a DAG.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | The DAG to update. | |
| is_paused | Yes | True to pause (stop scheduling), False to unpause. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | ||
| is_paused | No | ||
| is_active | No | ||
| description | No | ||
| schedule_interval | No | ||
| timetable_summary | No | ||
| owners | No | ||
| tags | No | ||
| next_dagrun | No | ||
| fileloc | No |