@wayne-workman
Thanks,
I can get the scheduled tacks of the host with the id 826 by:
curl -H 'fog-api-token:ttt.....WU=' -H 'fog-user-token:ODc4Z.....YjZmNDE=' -X GET http://fogus/fog/scheduledtask -o 826task.json -d '{"hostID":[826]}'
So I get the 826task.json file containing:
{ "count": 1, "scheduledtasks": [ { "id": "86", "name": "Deploy Task", "description": "", "type": "C", "taskType": "1", "minute": "0", "hour": "1", "dayOfMonth": "*", "month": "*", "dayOfWeek": "0", "isGroupTask": "", "hostID": "826", "shutdown": "1", "other1": "", "other2": "-1", "other3": "fog", "other4": "1", "other5": "", "scheduleTime": "0", "isActive": "1", "imageID": "0" } ]
I try to delete the task with
curl -H 'fog-api-token:NWE...MWU=' -H 'fog-user-token:ODc....mNDE=' -X DELETE http://fogus/fog/scheduledtask -d '{"id":[86]}'
But the task is still present… What is my error ?