Zabbix Documentation 4.2

3.04.04.45.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


manual:api:reference:host:update

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:api:reference:host:update [2019/01/11 08:00]
martins-v clarifying what 'replacing' means
manual:api:reference:host:update [2019/01/28 12:52] (current)
Line 16: Line 16:
  
 ^ Parameter ^ Type ^ Description ^ ^ Parameter ^ Type ^ Description ^
-| groups | object/​array | Host groups to replace the current host groups the host belongs to.\\ \\ The host groups must have the ''​groupid''​ property defined. All host groups that are not listed in the request will be removed. |+| groups | object/​array | Host groups to replace the current host groups the host belongs to.\\ \\ The host groups must have the ''​groupid''​ property defined. All host groups that are not listed in the request will be unlinked. |
 | interfaces | object/​array | Host interfaces to replace the current host interfaces.\\ \\ All interfaces that are not listed in the request will be removed. ​ | | interfaces | object/​array | Host interfaces to replace the current host interfaces.\\ \\ All interfaces that are not listed in the request will be removed. ​ |
 | tags | object/​array | Host tags to replace the current host tags.\\ \\ All tags that are not listed in the request will be removed. | | tags | object/​array | Host tags to replace the current host tags.\\ \\ All tags that are not listed in the request will be removed. |
Line 36: Line 36:
  
 Request: Request:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​
Line 50: Line 50:
  
 Response: Response:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​
Line 67: Line 67:
  
 Request: Request:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​
Line 88: Line 88:
  
 Response: Response:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​
Line 105: Line 105:
  
 Request: Request:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​
Line 128: Line 128:
  
 Response: Response:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​
Line 145: Line 145:
  
 Request: Request:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​
Line 162: Line 162:
  
 Response: Response:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​
Line 180: Line 180:
  
 Request: Request:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​
Line 197: Line 197:
  
 Response: Response:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​