function MCAPI::listInterestGroupDel in Mailchimp 6.2
Same name and namespace in other branches
- 5.2 MCAPI.class.php \MCAPI::listInterestGroupDel()
- 5 MCAPI.class.php \MCAPI::listInterestGroupDel()
- 6 MCAPI.class.php \MCAPI::listInterestGroupDel()
- 7 MCAPI.class.php \MCAPI::listInterestGroupDel()
<strong>DEPRECATED:</strong> 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:
int optional $grouping_id The grouping to delete the group from - get using listInterestGrouping() . If not supplied, the first grouping on the list is used.:
Return value
bool true if the request succeeds, otherwise an error will be thrown
Deprecated
See listInterestGroupingDel() for replacement
File
- ./
MCAPI.class.php, line 1179
Class
Code
function listInterestGroupDel($id, $group_name, $grouping_id = NULL) {
$params = array();
$params["id"] = $id;
$params["group_name"] = $group_name;
$params["grouping_id"] = $grouping_id;
return $this
->callServer("listInterestGroupDel", $params);
}