Arguments | Return value | REST (XML) example | REST (JSON) example | XML-RPC example
If calling by XML-RPC, note that this method takes a single struct as input, with the following keys:
123576abcdef6572134group:1234TruePOST /api/xml/peopleaggregator/leaveGroup HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Length: 45
authToken=123576abcdef6572134&id=group%3A1234
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: 89
<response>
<success>true</success>
</response>
POST /api/json/peopleaggregator/leaveGroup HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Length: 45
authToken=123576abcdef6572134&id=group%3A1234
HTTP/1.1 200 OK
Content-Type: application/x-javascript
Content-Length: 17
{"success": true}
POST /api/xmlrpc HTTP/1.1
Content-Type: text/xml
Content-Length: 992
<?xml version='1.0'?>
<methodCall>
<methodName>peopleaggregator.leaveGroup</methodName>
<params>
<param>
<value><struct>
<member>
<name>authToken</name>
<value><string>123576abcdef6572134</string></value>
</member>
<member>
<name>id</name>
<value><string>group:1234</string></value>
</member>
</struct></value>
</param>
</params>
</methodCall>
HTTP/1.1 200 OK
Content-Type: text/xml
Content-Length: 627
<?xml version='1.0'?>
<methodResponse>
<params>
<param>
<value><struct>
<member>
<name>success</name>
<value><boolean>1</boolean></value>
</member>
</struct></value>
</param>
</params>
</methodResponse>