function MCAPI::listResetStaticSegment in Mailchimp 6.2
Resets a static segment - removes <strong>all</strong> members from the static segment. Note: does not actually affect list member data
Related
Parameters
string $id the list id to connect to. Get by calling lists():
int $seg_id the id of the static segment to reset - get from listStaticSegments():
Return value
bool true if it worked, otherwise an error is thrown.
File
- ./
MCAPI.class.php, line 1366
Class
Code
function listResetStaticSegment($id, $seg_id) {
$params = array();
$params["id"] = $id;
$params["seg_id"] = $seg_id;
return $this
->callServer("listResetStaticSegment", $params);
}