cURL
curl --request POST \ --url http://localhost/public/v1/email/contacts/bulk-unsubscribe \ --header 'Content-Type: application/json' \ --data ' { "emails": [ "[email protected]" ], "reason": "<string>" } '
{ "ok": true, "count": "<string>" }
Unsubscribes multiple contacts by their email addresses. Can specify an optional reason.
Required. Array of email addresses to unsubscribe.
1 - 1000
Required. Email address must be valid with max 255 characters.
255
Optional. Reason for unsubscribing.