AMPscript
Add
Attributes.Retrieve
Lists.Retrieve
Remove
Retrieve
Statistics
Unsubscribe
Update
Upsert
Validate Your Server-Side JavaScript using WSProxy
Sets a subscriber’s status to Unsubscribed.
Unsubscribe()
To use the Unsubscribe() function, you must first initialize the subscriber object. Next, call the Unsubscribe() function on the initialized object.
1var subObj = Subscriber.Init("SubKey");
2var status = subObj.Unsubscribe();