Delete Selected Prospects
Deletes prospects so they stop appearing in campaign lists and always rejects their posts currently in ‘Need approval’ status. Two modes: (1) When areAllSelected is false, each targetUsersData entry is a (userId, LinkedIn profile id) pair — the backend deletes every prospect record with that LinkedIn profile across every campaign owned by that user in the team. This is a person-wide deletion for that user, not a per-campaign or per-record operation. (2) When areAllSelected is true, targetUsersData is ignored and the scope is controlled by variant (and listId) — may cover many prospects.
Authorizations
API Key for authentication
Body
Persons to delete (as user + LinkedIn profile pairs). Ignored when areAllSelected is true.
If true, the deletion scope is controlled by variant + listId and targetUsersData is ignored. If false, only the entries in targetUsersData are used (and variant/listId are ignored).
Scope of the bulk selection. Only used when areAllSelected is true; ignored otherwise. all — all visible prospects. list — a specific prospect list (use together with listId). campaign — every list in a campaign.
all, list, campaign List id that scopes the bulk selection when variant is list. Only used when areAllSelected is true.