addToGroup
Add devices or interfaces to a specified group in OpManager using device names.
Instructions
addToGroup
Category: Manage and query network devices
Key parameters:
groupName*: Name of the Device/Interface Group with MOID in the suffix.
groupType*: Type of the group [Example: device|interface]
selectedMembers*: Device name(s) supplied as a comma-separated string. Device
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | OpManager host address (e.g., 'opmanager.example.com' or 'opmanager.example.com:8061'). Default port is 8061 (HTTPS). | |
| apiKey | Yes | OpManager API key for authentication | |
| groupName | Yes | Name of the Device/Interface Group with MOID in the suffix. [Example: - ] | |
| groupType | Yes | Type of the group [Example: device|interface] | |
| selectedMembers | Yes | Device name(s) supplied as a comma-separated string. Device name is a Managed entity name as seen in the device snapshot page URL OR in 'deviceName' property of the listDevices API response |