You are here

function MCAPI::listInterestGroupDel in Mailchimp 5

Same name and namespace in other branches
  1. 5.2 MCAPI.class.php \MCAPI::listInterestGroupDel()
  2. 6.2 MCAPI.class.php \MCAPI::listInterestGroupDel()
  3. 6 MCAPI.class.php \MCAPI::listInterestGroupDel()
  4. 7 MCAPI.class.php \MCAPI::listInterestGroupDel()

Delete a single Interest Group

Related

@example xml-rpc_listInterestGroupDel.php

Parameters

string $id the list id to connect to:

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 709

Class

MCAPI

Code

function listInterestGroupDel($id, $group_name) {
  $params = array();
  $params["id"] = $id;
  $params["group_name"] = $group_name;
  return $this
    ->callServer("listInterestGroupDel", $params);
}