VoiceDock Docs
ApiCampaigns

Remove a lead

Remove a lead from a campaign.

DELETE
/campaigns/{id}/leads/{leadId}

Remove a lead from a campaign.

Authorization

BearerAuth
AuthorizationBearer <token>

API key authentication. Get your key from the dashboard.

In: header

Path Parameters

id*string

Campaign UUID

Formatuuid
leadId*string

Lead UUID

Formatuuid

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08/leads/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "success": true
}
{
  "error": "Invalid API key",
  "message": "string"
}
{
  "error": "Invalid API key",
  "message": "string"
}