« Back to Documentation Overview

listResetStaticSegment – v1.2

 listResetStaticSegment(string apikey, string id, int seg_id)

Resets a static segment - removes all members from the static segment. Note: does not actually affect list member data

Section
List Related
Parameters
apikey a valid API Key for your user account. Get by visiting your API dashboard
id the list id to connect to. Get by calling lists()
seg_id the id of the static segment to reset - get from listStaticSegments()
Returns
bool true if it worked, otherwise an error is thrown.