This method allows to remove related objects from multiple hosts.
Parameters
(object)
Parameters containing the IDs of the hosts to update and the objects that should be removed.
Examples
Unlinking templates
Unlink a template from two hosts and delete all of the templated entities.
Request:
{
"jsonrpc": "2.0",
"result": {
"69665",
"69666"
},
}
Source
CHost::massRemove() in ui/include/classes/api/services/CHost.php.