hostgroup.delete
This method allows to delete host groups.
A host group can not be deleted if:
- it is marked as internal;
- it is used by a host prototype;
- it is used in a global script;
- it is used in a correlation condition.
(array)
IDs of the host groups to delete.
(object)
Returns an object containing the IDs of the deleted host groups under the groupids
property.
Deleting multiple host groups
Request:
Response:
"jsonrpc": "2.0",
"groupids": [
"107825"
]
},