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:

    1. {
    2. "jsonrpc": "2.0",
    3. "result": {
    4. "69665",
    5. "69666"
    6. },
    7. }

    Source

    CHost::massRemove() in ui/include/classes/api/services/CHost.php.