Skip to main content
DELETE
/
campaigns
/
{campaignId}
/
leads
/
{email}
Unsubscribe Lead from Campaign
curl --request DELETE \
  --url https://api.lemlist.com/api/campaigns/{campaignId}/leads/{email} \
  --header 'Authorization: Basic <encoded-value>'
{
  "email": "[email protected]",
  "_id": "lea_o3uCcHsibhy9id8qD",
  "isPaused": false,
  "campaignId": "cam_eMZnxqs9Z9nqGxzwT",
  "contactId": "ctc_ARyApP88xS286tgsY"
}
You can also unsubscribe a lead with the delete or unsubscribe lead endpoint.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

campaignId
string
required

The unique identifier of the campaign

email
string
required

The email of the lead

Response

Success

email
string<email>
_id
string
isPaused
boolean
campaignId
string
contactId
string