Deletes the schedule of a workflow definition. Note, this doesn’t stop any currently executing workflow run (use the StopWorkflowRun mutation).
Example
Use the Query Builder to create and edit a workflow. See NerdGraph API explorer.
mutation { workflowAutomationDeleteSchedule( accountId: 11933347 schedule: { id: "1a71d299-82c2-4b4d-9803-b14523e3a9e7" } ) { scheduleId }}Error Example
In case the schedule.id is not found, the following structure is returned.
{ "data": { "workflowAutomationDeleteSchedule": null }, "errors": [{ "message": "Could not find schedule with ID MTE2NDk5MDB8TkdFUHxXT1JLRkxPV19TQ0hFRFVMRXwwMTk5MGUzYi04NzAyLTc2M2QtOWUzMy01ZTU1ZThmZTYzYjkl", "path": ["workflowAutomationDeleteSchedule"] }]}