Delete an email

Delete /blacklists/{type}/{email}

URL parameters:

Name Description Type Mandatory

Type of blacklist.

Values available:

  • bounces
  • unsubscribes
  • complaints
  • blacklist (remove the address from all type of blacklist)
String Yes
email Email address you want to remove String Yes


Name Description Type
status success / failure String
Programming language:

Response exemple:

								"status": "success"

Code example:

								curl -X DELETE -H "X-Tipimail-apiUser:YOUR_SMTP_USERNAME" -H "X-Tipimail-ApiKey:YOUR_SMTP_KEY"
require 'vendor/autoload.php';

$tipimail = new Tipimail\Tipimail('YOUR_SMTP_USERNAME', 'YOUR_API_KEY');

try {
	$result = $tipimail->getBlacklistsService()->deleteUnsubscriber('');
catch(Tipimail\Exceptions\TipimailException $e) {
	echo 'Exception received :', $e->getMessage(), "\n";