-
Incident report
-
Resolution: Unresolved
-
Trivial
-
None
-
3.0.10
-
None
-
Apache 2.4, PHP 7.0.22
I want to unlink and clear a template from a host using the API method "host.update". According to the request and the response it should have worked, but looking at the host in the frontend the template is still linked.
Request
{ "method": "host.update", "auth": "924ee0899f23cad9c57f09baf9e4aedd", "jsonrpc": "2.0", "id": 2, "params": { "hostid": "11597", "templateids_clear": [ "11383" ] } }
Response
{ "result": { "hostids": [ "11597" ] }, "jsonrpc": "2.0", "id": 2 }