Skip to main content
DELETE
/
campaigns
/
{campaignId}
/
leads
/
{leadId}
Delete Lead
curl --request DELETE \
  --url https://api.lemlist.com/api/campaigns/{campaignId}/leads/{leadId} \
  --header 'Authorization: Basic <encoded-value>'
{
  "firstName": "Bastien",
  "lastName": "Velitchkine",
  "companyName": "Bastien VELITCHKINE EI",
  "jobTitle": "Growth Engineer",
  "companyDomain": "bvelitchkine.com",
  "email": "support@lemlist.com",
  "preferredContactMethod": "email",
  "industry": "Technology",
  "Company name": "Bastien Velitchkine",
  "_id": "lea_mizMsAEkRrJuhouYe",
  "isPaused": false,
  "campaignId": "cam_9NsHPnykWESTncCW8",
  "contactId": "ctc_Rofmb6uNGyaPNZ2ni",
  "emailStatus": "deliverable"
}
This endpoint uses the Lead object.
This endpoint deletes a lead from a campaign.

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

leadId
string
required

The unique identifier of the lead

Query Parameters

action
string

Force the deletion of the lead. Use 'remove' to force delete.

Response

Success

firstName
string
lastName
string
companyName
string
jobTitle
string
companyDomain
string
email
string<email>
preferredContactMethod
string
industry
string
Company name
string
_id
string
isPaused
boolean
campaignId
string
contactId
string
emailStatus
string
{key}
string