KSC Open API  13.1
Kaspersky Security Center API description
Tasks::UpdateTask ( wstring  strTask,
params  pData 
)

Modify task settings.

Modifies task settings For some task types in running state might fail with PxgError "code"="1401". Error 1401 means: "Task is running now. Requested operation cannot be completed while the task is running."

Parameters:
strTask(wstring) task id in digital representation, like "1" or "45" and etc.
pData(params) task settings, see Task settings format