Delete or Unsubscribe Lead
Leads
Delete or Unsubscribe Lead
Removes a lead from a campaign or unsubscribes it permanently.
DELETE
Delete or Unsubscribe Lead
Documentation Index
Fetch the complete documentation index at: https://developer.lemlist.com/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint uses the Lead object. Make sure to also check the Contact object to understand the distinction between the two.
action=remove in the params to delete a lead. If you don’t specify action=remove, the endpoint fallbacks to unsubscribing the lead and to do so you need to provide the lead email.Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
The unique identifier of the campaign
The unique identifier of the lead
Query Parameters
Use 'remove' to force delete. Otherwise it will just unsubscribe the lead from the campaign.