Calling
http://manage2.cpanel.net/XMLgroupInfo.cgi? in a web browser will produce XML output similar to the following:
<XMLgroupInfo reason="OK" status="1" version="0.4">
<groups G0001="ExampleGroup" G0002=""
G0003="Training Server*" G0003="Training Server 2*"
G0004="Enterprise" G00005="Enterprise 2" G0006="Testing
Server"/>
</XMLgroupInfo>
Calling the function using the URL above will return XML data by default. To change the output format that will be returned, use either of the following URLs:
- JSON —
http://manage2.cpanel.net/XMLgroupInfo.cgi?output=json&
- YAML —
http://manage2.cpanel.net/XMLgroupInfo.cgi?output=yaml&
For more information about each of these output types, visit our
Choosing an Output Type documentation.