This method allows to simultaneously replace or remove related objects and update properties on multiple hosts.
Parameters
(object)
Parameters containing the IDs of the hosts to update and the properties that should be updated.
Additionally to the standard host properties, the method accepts the following parameters.
(object)
Returns an object containing the IDs of the updated hosts under the hostids
property.
Examples
Enabling multiple hosts
Request:
Response:
"jsonrpc": "2.0",
"hostids": [
"69665",
"69666"
]
},
}