Need An Email Marketing Solution For All Of Your Customers?

Partner With VerticalResponse!

eraseListMembers


The eraseListMembers() deletes all of the members from a list permanently, but leaves the list (now with zero members) intact.

Input

[vrtypens:eraseListMembersArgs]

session_id [xsd:string] (required)
Your API session id.
list_id [xsd:int] (required)
The id of the list whose members are to be removed

Output

[xsd:boolean]
The output is always true.

Examples

Perl

$vrapi->eraseListMembers( {
    session_id => $sid,
    list_id => $lid,
} );

PHP

$vrapi->eraseListMembers( array(
    'session_id' => $sid,
    'list_id'    => $lid,
) );

Ruby

vr.eraseListMembers( {
    'session_id' => sid,
    'list_id'    => lid,
} );

C#.NET

eraseListMembersArgs objELMembers = new eraseListMembersArgs();
objELMembers.session_id = _sSessionId;
objELMembers.list_id = iListId;

objVR.eraseListMembers(objELMembers);