I'm pretty new at SSJS, but I'm trying to run a script in automation studio that removes a subscriber from a list via the unsubscribe function (see: https://developer.salesforce.com/docs/atlas.en-us.mc-programmatic-content.meta/mc-programmatic-content/ssjs_listSubscribersUnsubscribe.htm)
The javascript is valid according to Automation Studio and it also runs without error. However, the subscriber is not removed from the list.
My script is as follows and the email address I am referring to exists within the list:
Platform.Load("core","1");
var myList = List.Init("DeleteDelta");
var status myList.Subscribers.Unsubscribe("[email protected]");
Hopefully someone can tell me what I am doing wrong!