TryzenAPI
Campaigns

Remove one lead from the campaign

DELETE
/v1/campaigns/{campaignId}/leads/{campaignLeadId}

Access: an API key (or an org-wide key naming the workspace) with manage on campaigns.

Deletes the lead's campaign record and ends its sequence; the lead stays in the workspace and its lists, and what was already sent stays in the history. 409 lead_step_in_flight while a sender performs its current step.

Authorization

apiKey
headerx-api-key<token>

Workspace API key (nrk_…), shown once when created

Path Parameters

campaignId*string
Match^[0-9a-f]{24}$
campaignLeadId*string
Match^[0-9a-f]{24}$

Response Body

Default Response

application/json
  1. response
ok*true
Value intrue
Example Request
curl -X DELETE 'https://api.tryzen.co/v1/campaigns/string/leads/string'
Example Response
{  "ok": true}