This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
manual:api:reference:host:massremove [2019/10/07 06:35] 127.0.0.1 external edit |
manual:api:reference:host:massremove [2021/01/28 15:46] (current) |
||
---|---|---|---|
Line 11: | Line 11: | ||
''(object)'' Parameters containing the IDs of the hosts to update and the objects that should be removed. | ''(object)'' Parameters containing the IDs of the hosts to update and the objects that should be removed. | ||
- | ^ Parameter ^ Type ^ Description ^ | + | ^ Parameter ^ [[:manual/api/reference_commentary#data_types|Type]] ^ Description ^ |
| **hostids** \\ (required) | string/array | IDs of the hosts to be updated. | | | **hostids** \\ (required) | string/array | IDs of the hosts to be updated. | | ||
| groupids | string/array | Host groups to remove the given hosts from. | | | groupids | string/array | Host groups to remove the given hosts from. | | ||
Line 62: | Line 62: | ||
==== Source ==== | ==== Source ==== | ||
- | CHost::massRemove() in //frontends/php/include/classes/api/services/CHost.php//. | + | CHost::massRemove() in //ui/include/classes/api/services/CHost.php//. |