Skip to main content
DELETE
This permanently deletes the leads from your whole account: from every campaign, list and tag; their unsent emails are stopped. It cannot be undone and has no dry run. To remove leads from specific campaigns only, use Delete Leads from Campaigns, which has dry_run.
Main account keys only: a client API key gets 401 Not authorized. The response is ok: true even when some ids do not exist or are not yours (those are skipped), so it does not confirm how many leads were deleted.

Query Parameters

string
required
Your SmartLead API key

Request Body

Send either leadIds, or allLeads: true (not both).
array
Lead ids to delete, 1 to 10,000. Required unless allLeads is true.
boolean
default:"false"
true deletes the leads that match filters (the All Leads list filters), newest first, up to 10,000 per call. With no filters it deletes up to 10,000 of your leads.
object
All Leads list filters, used only with allLeads: true.