You are here

function MCAPI::listDelStaticSegment in Mailchimp 6.2

Delete a static segment. Note that this will, of course, remove any member affiliations with the segment

Related

Parameters

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

int $seg_id the id of the static segment to delete - get from listStaticSegments():

Return value

bool true if it worked, otherwise an error is thrown.

File

./MCAPI.class.php, line 1381

Class

MCAPI

Code

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