The simplest way to unsubscribe
http(s)://edm.source-ec.com/api/<api_key>/unsubscribe/<email_address> or
http(s)://edm.source-ec.com/api/<api_key>/unsubscribe/<contact_id>
Response
{
"success": true
, "message": "Successfully un-subscribed"
}
Other Response
{
"success": false
, "message": "Email not found."
}
{
"success": false
, "message": "Fail to unsubscribe"
}