put
https://{subdomain}.td.commpeak.com/api/campaign-leads/mass-unassign
Remove many leads from a campaign in a single request.
When to use. Take a set of leads off a campaign without deleting the leads themselves. This is the reverse of PUT /campaign-leads/mass-assign.
Parameters.
campaign_id(integer, required): the campaign to unassign the matched leads from.where(object, required): conditions selecting the leads to unassign, typically by theiridvalues. Each value may be a single value (exact match) or an array (matches any of the listed values).
Returns. 204 No Content on success.
Example.
{ "campaign_id": 12, "where": { "id": [1, 2, 3] } }Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
204Leads unassigned. No content.