KSC Open API
Kaspersky Security Center API description
EntraIdSso::SetScanningEnabledFlag ( boolean  bValue)

Set the EntraId scanning flag.

Parameters:
bValue[in] Flag value. true - enable, false - disable.