Delete Subscriber by Email

Delete a subscriber from a list using their email address. This is a silent operation — no email will be sent to the user.

🧹 Delete Subscriber by Email

Search for the subscriber by email within the list, then delete using their unique ID.


🔹 HTTP Requests

Step 1: Search by email

GET API-URL/lists/LIST-UNIQUE-ID/subscribers/search-by-email

Step 2: Delete by UID

DELETE API-URL/lists/LIST-UNIQUE-ID/subscribers/SUBSCRIBER-UNIQUE-ID

🔸 URL Segments

Segment
Required
Description

LIST-UNIQUE-ID

Yes

List unique ID to which the subscriber belongs.

SUBSCRIBER-UNIQUE-ID

Yes

Subscriber unique ID to delete.


🔎 GET Parameters

Parameter
Required
Description

email

Yes

Subscriber email to retrieve UID


🔐 Authorization Header

X-API-KEY: your-api-key-here

💻 PHP Example

// DELETE SUBSCRIBER by email address, no email is sent, delete is silent
$response = $endpoint->deleteByEmail('LIST-UNIQUE-ID', '[email protected]');

// DISPLAY RESPONSE
echo '<hr /><pre>';
print_r($response->body);
echo '</pre>';

📦 Sample JSON Response

{
  "status": "success"
}

Last updated