function MCAPI::listInterestGroupDel in Mailchimp 7
Same name and namespace in other branches
- 5.2 MCAPI.class.php \MCAPI::listInterestGroupDel()
- 5 MCAPI.class.php \MCAPI::listInterestGroupDel()
- 6.2 MCAPI.class.php \MCAPI::listInterestGroupDel()
- 6 MCAPI.class.php \MCAPI::listInterestGroupDel()
Delete a single Interest Group - if the last group for a list is deleted, this will also turn groups for the list off.
Related
@example xml-rpc_listInterestGroupDel.php
Parameters
string $id the list id to connect to. Get by calling lists():
string $group_name the interest group to delete:
Return value
bool true if the request succeeds, otherwise an error will be thrown
File
- ./
MCAPI.class.php, line 1052
Class
Code
function listInterestGroupDel($id, $group_name) {
$params = array();
$params["id"] = $id;
$params["group_name"] = $group_name;
return $this
->callServer("listInterestGroupDel", $params);
}