You are here

function MCAPI::listInterestGroupUpdate in Mailchimp 7

Same name and namespace in other branches
  1. 6.2 MCAPI.class.php \MCAPI::listInterestGroupUpdate()

Change the name of an Interest Group

Related

Parameters

string $id the list id to connect to. Get by calling lists():

string $old_name the interest group name to be changed:

string $new_name the new interest group name to be set:

Return value

bool true if the request succeeds, otherwise an error will be thrown

File

./MCAPI.class.php, line 1068

Class

MCAPI

Code

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