> Host group object

The following objects are directly related to the hostgroup API.

Host group

The host group object has the following properties.

PropertyTypeDescription
groupidstring(readonly) ID of the host group.
name
(required)
stringName of the host group.
flagsinteger(readonly) Origin of the host group.

Possible values:
0 - a plain host group;
4 - a discovered host group.
internalinteger(readonly) Whether the group is used internally by the system. An internal group cannot be deleted.

Possible values:
0 - (default) not internal;
1 - internal.