Unsubscribe a Subscriber

Silently unsubscribe a subscriber from a list using their unique subscriber and list identifiers. No notification email is sent.

๐Ÿ“ค Unsubscribe a Subscriber

Remove a subscriber from active communication without sending an email notification.


๐Ÿ”น HTTP Request

PUT API-URL/lists/LIST-UNIQUE-ID/subscribers/SUBSCRIBER-UNIQUE-ID/unsubscribe

๐Ÿ”ธ 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 unsubscribe.


๐Ÿ” Authorization Header

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

๐Ÿ’ป PHP Example

// UNSUBSCRIBE existing subscriber, no email is sent, unsubscribe is silent
$response = $endpoint->unsubscribe('LIST-UNIQUE-ID', 'SUBSCRIBER-UNIQUE-ID');

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

๐Ÿ“ฆ Sample JSON Response