[comment]: # ({47804e83-524e7e9d})
# Host group object

The following objects are directly related to the `hostgroup` API.

[comment]: # ({/47804e83-524e7e9d})

[comment]: # ({f848bfbf-4db6f754})
### Host group

The host group object has the following properties.

|Property|[Type](/manual/api/reference_commentary#data_types)|Description|
|--|--|------|
|groupid|string|*(readonly)* ID of the host group.|
|**name**<br>(required)|string|Name of the host group.|
|flags|integer|*(readonly)* Origin of the host group.<br><br>Possible values:<br>0 - a plain host group;<br>4 - a discovered host group.|
|internal|integer|*(readonly)* Whether the group is used internally by the system. An internal group cannot be deleted.<br><br>Possible values:<br>0 - *(default)* not internal;<br>1 - internal.|

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

[comment]: # ({/f848bfbf-4db6f754})
