KSC Open API
Kaspersky Security Center API description
EventProcessing::InitiateDelete ( wstring  strIteratorId,
params  pSettings 
)

Initiate delete events in the result-set.

Initiates mass delete of the events specified by pSettings in the result-set.

Parameters:
strIteratorId(wstring) result-set ID, identifier of the server-side ordered collection of found data records.
pSettings(params) contains range blocks to mass delete events.
Format of pSettings parameter:
EVP_EVENT_BLOCKS // paramArray
    +---0 // paramParams
        +---EVP_EVENT_BLOCK_BEGIN_ID // paramLong, write here Event ID (event_db_id) to set start of block, see List of event attributes for attribute names. 
        +---EVP_EVENT_BLOCK_END_ID // paramLong, write here Event ID (event_db_id) to set end of block, see List of event attributes for attribute names.
    +---1 // paramParams
        ...
    ...