KSC Open API  13.0
Kaspersky Security Center API description
ServerHierarchy::DelServer ( int  lServer)

Remove the specified secondary Administration Server.

This action only removes the secondary Administration Server registration info from the primary Administration Server. To remove the primary Administration Server settings from the secondary Administration Server, use HostGroup.SS_Write to overwrite the primary Administration Server connection settings section and set "KLSRV_MASTER_SRV_USE" to false.
See Secondary Administration Server registration for details.

Parameters:
lServersecondary Administration Server ID.
See also:
Sample. Creating and destroying a "primary/secondary" relation.