KSC Open API  13.1
Kaspersky Security Center API description
HostGroup::MoveHostsToGroup ( int  nGroup,
array  pHostNames 
)

Moves the multiple hosts to the specified administration group.

Parameters:
nGroup(int) ID of the target administration group.
pHostNames(array) array of the host names.