manual:xml_export_import:groups

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
manual:xml_export_import:groups [2021/09/16 06:27]
marinagen removed duplicated info
manual:xml_export_import:groups [2021/09/28 08:37] (current)
iivs removed unnecessary xml format duplication
Line 5: Line 5:
 API allows to export host groups independently from hosts or templates. API allows to export host groups independently from hosts or templates.
  
-== In YAML format ==+== Export ​format ==
 <code yaml> <code yaml>
   groups:   groups:
Line 11: Line 11:
       name: '​Zabbix servers'​       name: '​Zabbix servers'​
 </​code>​ </​code>​
- 
-== In XML format == 
-<code xml> 
-<​groups>​ 
-    <​group>​ 
-        <​name>​Zabbix servers</​name>​ 
-    </​group>​ 
-</​groups>​ 
-</​code>​ 
- 
  
 === groups/​group === === groups/​group ===
 ^Parameter^Type ​     ^Description^Details^ ^Parameter^Type ​     ^Description^Details^
 |name     ​|//​string//​|Group name. | | |name     ​|//​string//​|Group name. | |