KSC Open API
Kaspersky Security Center API description
|
Removes the multiple hosts. The host records will be deleted only for the hosts located in the group "Unassigned computers" or its subgroups. Other hosts will be moved to the appropriate subgroups of the group "Unassigned computers".
See also how to use the KlAkOAPI Python package: server = KlAkOAPI.AdmServer.KlAkAdmServer.Create("https://ksc.example.com:13299", "username", "password", verify = False) oHostGroup = KlAkOAPI.HostGroup.KlAkHostGroup(server) # fill array with host names oHosts2Delete = [...] # delete host records oHostGroup.RemoveHosts(oHosts2Delete, False) |