Even though you stop or delete the schedule from schedules for a particular playbook, the scheduler runs the playbook in workflow. In this case, simply delete the schedule from workflow using curl command.
Follow the below steps to delete the schedule.
1) ssh the box using root permissions.
2)curl -i -H "<Authorization: Bearer Certificate>" https://127.0.0.1/api/wf/api/scheduled/?format=json
Above command shows the playbook ids in workflow for schedules.
3)curl -X “DELETE” -H "<Authorization: Bearer Certificate>" https://127.0.0.1/api/wf/api/scheduled/<Playbook ID>/
Above command delete the playbook from workflow specified.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.