Unsubscribe

Sets a subscriber's status to Unsubscribed.

Syntax 

Unsubscribe()

Example 

To use the Unsubscribe() function, you must first initialize the subscriber object. Next, call the Unsubscribe() function on the initialized object.

var subObj = Subscriber.Init("SubKey");
var status = subObj.Unsubscribe();