KSC Open API
Kaspersky Security Center API description
array HostGroup::UpdateHostsMultiple ( array  pArrHostIds,
params  pProperties 
)

Update attributes of multiple computers.

Parameters:
pArrHostIds(array) Array of up to 100 strings. Each entry is a host name, a unique string generated by the server (see KLHST_WKS_HOSTNAME attribute). It is not the same as the computer network name, for example, DNS name, FQDN name, NetBIOS name.
pProperties(params) container with the host attributes to be modified. The following attributes can be specified:
  • KLHST_MANAGED_OTHER_SERVER
  • KLHST_WKS_CEDR_STATUS
  • KLHST_WKS_CEDR_LAST_SEEN
  • KLHST_WKS_CUSTOM_OWNER_ID
For more information about these attributes, see List of the host attributes.
Returns:
(array) array of failed IDs. If Administration Server fails to change the host attributes, it puts the host ID into this array.