Zabbix Documentation 5.0

3.04.04.4 (current)| In development:5.0 (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
manual:api:reference:host:update [2020/01/31 15:16]
martins-v updating the host technical name will also update the host's visible name if not given or empty
manual:api:reference:host:update [2020/02/12 08:48] (current)
marinagen cross links to improve usability
Line 19: Line 19:
 ^ 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 unlinked. | | 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 ​| [[:​manual/​api/​reference/​hostinterface/​object|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 ​| [[:​manual/​api/​reference/​host/​object#​host_tag|Host tags]] to replace the current host tags.\\ \\ All tags that are not listed in the request will be removed. | 
-| inventory | object | Host inventory properties. | +| inventory | object ​| [[:​manual/​api/​reference/​host/​object#​host_inventory|Host inventory]] properties. | 
-| macros | object/​array | User macros to replace the current user macros.\\ \\ All macros that are not listed in the request will be removed. |+| macros | object/​array ​| [[:​manual/​api/​reference/​usermacro/​object|User macros]] to replace the current user macros.\\ \\ All macros that are not listed in the request will be removed. |
 | templates | object/​array | Templates to replace the currently linked templates. All templates that are not listed in the request will be only unlinked. \\ \\ The templates must have the ''​templateid''​ property defined. | | templates | object/​array | Templates to replace the currently linked templates. All templates that are not listed in the request will be only unlinked. \\ \\ The templates must have the ''​templateid''​ property defined. |
 | templates_clear | object/​array | Templates to unlink and clear from the host. \\ \\ The templates must have the ''​templateid''​ property defined. | | templates_clear | object/​array | Templates to unlink and clear from the host. \\ \\ The templates must have the ''​templateid''​ property defined. |