KSC Open API
Kaspersky Security Center API description
VapmControlApi::DeleteFilesForAllUpdates ( wstring  wstrRequestId)

Cleanup files for all (Microsoft and 3rd-party) updates in all the server storages. The operation progress is reported by 'KLEV_EventAsyncState' events.

Kaspersky updates are skipped

Parameters:
wstrRequestId(wstring) request ID, used to cancel the request by CancelDeleteFilesForUpdates() and to subscribe for the 'KLEV_EventAsyncState' events