Cumulocity API Services / com.softwareag.jc.cumulocity.services.api / ManagedObjectService / assignToGroup

assignToGroup

fun assignToGroup(child: String, parentId: String, responder: RequestResponder<ManagedObject>?): Unit

Associates the given managed object withe the other. This is most often used to add a device 'c8y_Device' to a group 'c8y_DeviceGroup'

Parameters

child - the internal id of the managed object to be assigned

parentId - the internal id of parent managed object to which the child will be associated