Delete multiple leads from a campaign or list based on filters. You must provide either campaign_id or list_id. Optionally filter by status or specific IDs.
Requires one of the following scopes: leads:delete, leads:all, all:delete, all:all
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the campaign to delete leads from. Required if list_id is not provided.
"019cc043-e39a-7712-86ae-491a1554b0c1"
The ID of the list to delete leads from. Required if campaign_id is not provided.
"019cc043-e39a-7712-86ae-491b1242d168"
Optional status filter. Only delete leads with this status.
1, 2, 3, -1, -2, -3 3
Optional array of specific lead IDs to delete. When provided, only these leads will be deleted from the specified campaign or list.
Maximum number of leads to delete. If not specified, all matching leads will be deleted.
1 <= x <= 10000100
Default Response
Number of leads successfully deleted.
5