Removes a lead from a campaign or unsubscribes it permanently.
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.
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.Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
The unique identifier of the campaign
The unique identifier of the lead
Use 'remove' to force delete. Otherwise it will just unsubscribe the lead from the campaign.