UnsubSubscriber
Unsubscribe existing subscriber from subscriber list.
URL | https://api.enginemailer.com/restapi/subscriber/emsubscriber/unSubSubscriber?email={email} |
Method | HTTP GET with Query String |
Request Example
Header
<APIKEY> - Value
Response
Success Response
{
"Result":{
"Status":"OK",
"StatusCode":"200"
}
}
Failed Response
{
"Result":{
"StatusCode":"500",
"Status":"InternalServerError",
"ErrorMessage":"Authentication Failed!"
}
}
Code Example (.NET)
var client = new RestClient("http://api.enginemailer.com/RESTAPI/subscriber/emsubscriber/unSubSubscriber?email=example@enginemailer.com");
var request = new RestRequest(Method.GET);
request.AddHeader("APIKey", "<>");
var response = client.Execute(request).Content;
var response2 = JObject.Parse(response);