KSC Open API
Kaspersky Security Center API description
Tasks::DeleteTask ( wstring  strTask)

Delete the specified task.

Deletes the specified task.

Parameters:
strTask(wstring) task id in digital representation, like "1" or "45" and etc.