Add/remove units

To add units into a group or remove them from it, use the command unit_group/update_units:

svc=unit_group/update_units&params={"itemId":<long>,
				    "units":[<long>]}

Parameters

Name Description
itemId unit group ID
units array of units IDs

Response

{
	"u":[<long>]	/* array of units IDs */	
}