AdHub App icon

AdHub App

Manage AdHub leads, activities, sources, statuses, tags, and custom fields

Lead → Bulk Delete

AI-generated

Summary

Delete multiple leads in bulk by specifying either their IDs or a set of filter criteria that select leads to delete.

Inputs

  • Body Type (required) — Choose whether to specify deletion targets by form-style parameters or raw JSON body.
  • Target Type — When using form parameters, choose to delete leads by specific IDs or by applying filter rules.
  • Lead IDs — A JSON array of lead ID strings to delete, used when Target Type is 'IDs'.
  • Filter Mode — Logical mode ('AND'/'OR') deciding how multiple filter rules combine when deleting by filter.
  • Filter Rules — One or more filter rules specifying field, operator, and value to select leads for deletion, used when Target Type is 'Filter'.
  • Bulk Delete Body (JSON) — Full request body as JSON object, used when Body Type is 'JSON'; allows specifying lead IDs and filters directly.

Output shape

a JSON object containing the API response confirming which leads were deleted or any errors encountered

The output reflects the remote AdHub API response. Pagination does not apply since this operation deletes leads in bulk. Errors from invalid IDs or filter rules are reported in the response.

Links

Discussion