Unsubscribe and Log an UnsubEvent with a LogUnsubEvent Execute Call

This call allows you to unsubscribe a subscriber and log an UnsubEvent that is tracked against a specific Job. Use this call when you create your own landing page or profile center functionality.

Use this sample server-side JavaScript as a model for your own call: