cURL
curl --request POST \ --url https://api.lemlist.com/api/unsubscribes/contacts/{contactId} \ --header 'Authorization: Basic <encoded-value>'
"Contact subscription updated"
Marks a contact as unsubscribed (do-not-contact).
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The contact identifier
Success
Was this page helpful?
Suggestions