KSC Open API
Kaspersky Security Center API description
LicenseInfoSync::TryToUnistallLicense ( boolean  bCurrent)

Uninstall adm. server's license.

Parameters:
bCurrent(boolean) true to install active license, otherwise uninstall the reserved one.
Exceptions:
Throwsexception in case of error.