KSC Open API  13.1
Kaspersky Security Center API description
HWInvStorage::SetWriteOffFlag2 ( array  vecObjId,
boolean  bFlag 
)

Set decommissioned flag for array of devices.

Parameters:
vecObjId[in] (array) Array of device ids. Max array size is 1000 elements. For device id see Hardware inventory object format hardware object format.
bFlag[in] (boolean) Flag
Exceptions:
KLSTD::STDE_NOACCESS- access denied