This method will add a customer to the “stop list” and prevent subsequent emailing to that address.


Resource Information

Response formats JSON (default), XML
HTTP Method POST
Response family lists
Header
Authorization: api_key XXXXX


Resource URL

Production Server:

https://api.customergauge.com/v4.1/lists/unsubscribe.json


POST Data

Post data as key value based on upload mapping.


POST Data Example


Key Data
email (required) lee_klameth@directness.net


Example Request


cURL example curl -X POST https://api.customergauge.com/v4.1/lists/unsubscribe.json -d email=lee_klameth@directness.net


Example Result

Message reported on successful operation:




1




{"Data":{"Message":"Record added"}}




Message reported on failed operation:




1




{"Error":{"Message":"Email address is required","Code":400402}}