[comment]: # ({bac2b34f-8a71c363})
# 2 Host groups

#### Overview

In the frontend, host groups can be [exported](/manual/xml_export_import) only with host export.
When a host is exported, all groups it belongs to are exported with it automatically.

API allows exporting host groups independently of hosts.

[comment]: # ({/bac2b34f-8a71c363})

[comment]: # ({3c101f4f-72d8feac})
#### Export format

```yaml
   host_groups:
    - uuid: 6f6799aa69e844b4b3918f779f2abf08
      name: 'Zabbix servers'
```

[comment]: # ({/3c101f4f-72d8feac})

[comment]: # ({f7d859b6-8b16d3d3})
#### Exported elements

|Element|Type|Description|
|------|---|---------|
|uuid|string|Unique identifier for this host group. |
|name|string|Group name.|

[comment]: # ({/f7d859b6-8b16d3d3})
