v1

latestOpenAPI 3.0.32026-07-24156161.2 MB
CampaignLeads

Mass unassign leads

Thw Mass unassign leads API method is used to unassign multiple leads from a specific campaign. You should add the following fields in the request body:

Request Body

  • campaign_id (integer) - The ID of the campaign from which leads are to be unassigned.

  • where (object) - Criteria to select the leads to be unassigned. In this example, the criteria is based on the lead id field.

Response

The response for this request is a 204 status code with a Content-Type of text/xml.

put/campaign-leads/mass-unassign

Request body

campaign_idnumber

Example request

{
  "campaign_id": 5,
  "where": {
    "id": [
      "10",
      "11"
    ]
  }
}

Response

Successful operation