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:create

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:create [2019/10/07 06:35]
127.0.0.1 external edit
manual:api:reference:host:create [2020/02/12 08:39] (current)
marinagen
Line 15: Line 15:
 ^ Parameter ^ Type ^ Description ^ ^ Parameter ^ Type ^ Description ^
 | **groups** \\ (required) | object/​array | Host groups to add the host to. \\ \\ The host groups must have the ''​groupid''​ property defined. | | **groups** \\ (required) | object/​array | Host groups to add the host to. \\ \\ The host groups must have the ''​groupid''​ property defined. |
-| **interfaces** \\ (required) | object/​array | Interfaces to be created for the host. | +| **interfaces** \\ (required) | object/​array ​| [[:​manual/​api/​reference/​hostinterface/​object|Interfaces]] to be created for the host. | 
-| tags | object/​array | Host tags. |+| tags | object/​array ​| [[:​manual/​api/​reference/​host/​object#​host_tag|Host tags]]. |
 | templates | object/​array | Templates to be linked to the host. \\ \\ The templates must have the ''​templateid''​ property defined. | | templates | object/​array | Templates to be linked to the host. \\ \\ The templates must have the ''​templateid''​ property defined. |
-| macros | object/​array | User macros to be created for the host. | +| macros | object/​array ​| [[:​manual/​api/​reference/​usermacro/​object|User macros]] to be created for the host. | 
-| inventory | object | Host inventory properties. |+| inventory | object ​| [[:​manual/​api/​reference/​host/​object#​host_inventory|Host inventory]] properties. |
 ==== Return values ==== ==== Return values ====