Skip to main content
DELETE
/
api
/
v1
/
campaigns
/
{campaign_id}
/
leads
/
{lead_id}
curl -X DELETE "https://api.foxreach.io/api/v1/campaigns/cmp_abc123/leads/cld_xyz789" \
  -H "X-API-Key: otr_your_key"
{
  "data": {
    "removed": true
  }
}

Path Parameters

campaign_id
string
required
The unique identifier of the campaign.
lead_id
string
required
The unique identifier of the lead to remove.

Response

Returns a confirmation of removal.
curl -X DELETE "https://api.foxreach.io/api/v1/campaigns/cmp_abc123/leads/cld_xyz789" \
  -H "X-API-Key: otr_your_key"
{
  "data": {
    "removed": true
  }
}

Errors

StatusDescription
400Cannot remove leads from an active campaign
404Lead not found in campaign
404Campaign not found