Technical Tip: [FortiSOAR / Cybersponse Tricks'n'Tips] Workaround for scheduler not getting stopped even-though you delete the Schedule from UI
Description
Even though you stop or update the schedule with new PB uuid, the scheduler runs the previous workflow even though you made changes to the PB. In this case, simply delete the Scheduler and add new.
Follow the below steps to delete the schedule.
1) Get the list of all the Schedules
Method: Get
URL:https://{hostname}/api/wf/api/scheduled
Authentication: Bearer Token
2) Select the ID of the Schedule from the output of step#1.
3) Run the Delete Action
Method: Delete
URL:https://{hostname}/api/wf/api/scheduled/{id}
Authentication: Bearer Token
