You are here

function MCAPI::listMergeVarDel in Mailchimp 6

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

Delete a merge tag from a given list and all it's members. Note that on large lists this method may seem a bit slower than calls you typical make.

Related

@example xml-rpc_listMergeVarDel.php

Parameters

string $id the list id to connect to:

string $tag The merge tag to delete:

Return value

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

File

./MCAPI.class.php, line 659

Class

MCAPI

Code

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