This method allows to remove related objects from multiple host groups.此方法允许从多个主机组中删除相关对象。
Returns an object containing the IDs of the updated host groups under the property.返回包含“groupids”属性下更新的主机组的ID的对象。
Removing hosts from host groups从主机组中删除主机
Request:
- {
- "jsonrpc": "2.0",
- "result": {
- "5",
- "6"
- ]
- },
- }
CHostGroup::massRemove() in frontends/php/include/classes/api/services/CHostGroup.php.