Table of Contents

> Host group object

The following objects are directly related to the hostgroup API.

Host group

The host group object has the following properties.

Property Type Description
groupid string (readonly) ID of the host group.
name
(required)
string Name of the host group.
flags integer (readonly) Origin of the host group.

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

Possible values:
0 - (default) not internal;
1 - internal.
uuid string Universal unique identifier, used for linking imported host groups to already existing ones. Auto-generated, if not given.

Note that for some methods (update, delete) the required/optional parameter combination is different.