SmartLead icon

SmartLead

Interact with SmartLead API (campaigns, leads, inbox, analytics, delivery, and webhooks)

Actions144

Lead → Delete From Campaign

AI-generated

Summary

Delete a lead from a specified campaign

Inputs

  • campaignId (required) — Identifier of the campaign from which to delete the lead
  • leadId (required) — Identifier of the lead to delete
  • requestOptions — Optional collection of request settings such as batching, SSL verification, proxy, and timeout

Output shape

no body — success/failure only

Returns an empty response on successful deletion; may emit an error if the lead cannot be removed.

Examples

Example 1: Remove a single lead from a campaign

campaignId: "123", leadId: "456"

Example 2: Delete with batching enabled

campaignId: "123", leadId: "456", requestOptions: {"batchSize": 100}

Example 3: Delete ignoring SSL certificate errors

campaignId: "123", leadId: "456", requestOptions: {"allowUnauthorizedCerts": true}

Links

Discussion