AMPscript
Add
Remove
Retrieve
Validate Your Server-Side JavaScript using WSProxy
Removes the list you initialized previously
Remove()
This sample code deletes the list with External Key ‘myList’.
1var myList = List.Init("myList");
2var status = myList.Remove();