Available since version: 1.8
This function allows you to delete information about one or several host groups.
Host group can't be deleted:
Parameter | Type | Optional | Description | Details |
---|---|---|---|---|
groups | array | Array of Host Group objects |
Parameter | Description |
---|---|
result | Operation successful. Result will contain array of deleted Host Group IDs. |
error | In case of any errors |
{
"jsonrpc":"2.0",
"method":"hostgroup.delete",
"params":[
{
"groupid":107824
},
{
"groupid":107825
}
],
"auth":"3a57200802b24cda67c4e4010b50c065",
"id":2
}
Host Groups deleted successfully:
Host Group does not exist: