You are here

function MCAPI::listMergeVarDel in Mailchimp 7

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. 6 MCAPI.class.php \MCAPI::listMergeVarDel()

Delete a merge tag from a given list and all its members. Seriously - the data is removed from all members as well! Note that on large lists this method may seem a bit slower than calls you typically make.

Related

@example xml-rpc_listMergeVarDel.php

Parameters

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

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 1001

Class

MCAPI

Code

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