executor: pf_api_node_cleanup_tasks 
input:
  status: "enabled"
  interval: "{{.node_cleanup.delete_window.interval}}"
  unit: "{{.node_cleanup.delete_window.unit}}"
steps:
- type: pf_api_action
  method: PATCH
  url: 'config/maintenance_task/node_cleanup'
  body: >-
    {
      "status": "{{.input.status}}"
    }

- type: pf_api_action
  method: PATCH
  url: 'config/maintenance_task/node_cleanup'
  body: >-
   { 
     "delete_window": {
      "interval": "{{.input.interval}}",
      "unit": "{{.input.unit}}"
     }
   }
