Delete a folder group

This method deletes a folder group. The group must be empty of folders to be deleted.


Method: group.drop


Arguments: sid, id


Returns: sid, api_status, response_timestamp


Errors: An error will be returned if the folder is not empty


Message: Returns a message indicating the group was deleted

Example Request

<?xml version=”1.0” encoding=”UTF-8”?><methodCall> <methodName>group.drop</methodName> <params><param> <value><struct> <member> <name>sid</name> <value><string>5d58f1491c3355c6dfbdeccd76429a6c3a94cdc1</string></value> </member> <member> <name>id</name> <value><int>126</int></value> </member> </struct></value> </param></params></methodCall>

Example Response

<struct> <member> <name>sid</name> <value><string>5d58f1491c3355c6dfbdeccd76429a6c3a94cdc1</string></value> </member> <member> <name>messages</name> <value><array><data> <value><string>Group “7497_test_group_794” removed</string></value> </data></array></value> </member> <member> <name>api_status</name> <value><int>200</int></value> </member></struct>

Need to contact a human?

Get in touch