Unsubscribe Subscriber

Unsubscribe a subscriber without deleting their history

MethodPOST
/api/v1/subscribers/{subscriber}/unsubscribe

https://lumail.io/api/v1/subscribers/{subscriber}/unsubscribe

Marks the subscriber as unsubscribed and stops future mail. The subscriber row, send history, opens, clicks, and journal stay. Subscriber deletion is not a product operation; DELETE /api/v1/subscribers/{subscriber} returns 405.

Response

  • Success (200 OK) - Returns the unsubscribed subscriber.
  • Error (404 Not Found) - Returned if the subscriber does not exist.

Response Fields

FieldTypeDescription
successbooleanIndicates if the operation was successful
messagestringConfirms the subscriber was unsubscribed
subscriber.idstringUnique identifier for the subscriber
subscriber.emailstringEmail address of the subscriber
subscriber.statusstringUNSUBSCRIBED, or the existing non-subscribed status

Request Schema

No request body is required. Identify the subscriber by unique ID or email address in the URL path.

Usage Example

Use this endpoint when you need to:

  • Stop sending to a subscriber who asked to leave
  • Keep send history and deliverability data intact
  • Mirror an unsubscribe from an integration