Audiences

Remove leads from an audience. The leads themselves are not deleted.

post/api/external/v1/audiences/remove-leads

Request body

workspace_idinteger required

The workspace both belong to.

audience_idinteger required

From list-audiences.

lead_idsinteger[] required

Leads to remove.

Example request

{
  "workspace_id": 55,
  "audience_id": 44,
  "lead_ids": [
    56789
  ]
}

Response

audience_idinteger
removedinteger
lead_countinteger

Example response

{
  "audience_id": 44,
  "removed": 1,
  "lead_count": 2
}

Changes