This page documents the canonical HTTP contract for this endpoint.
This returns a queue receipt. Poll the operation run with operation_run_id (requires jobs:read) to confirm completion. The authenticated organization determines the selection scope. Explicit IDs are trimmed and deduplicated, then capped at 5,000 after any selection limit; inaccessible or missing explicit IDs are rejected. Descriptor selections are resolved by the background job, so initial requested/matched counts can be null. Pending outreach is stopped before records are removed; enrollment, task and delivery audit history is retained.
Body parameters
lead_ids· optionalarray<string>
Explicit lead IDs to delete. Provide either lead_ids or selection.
selection· optionalobject
Bulk selection object with mode (ids or descriptor), descriptor filter, search, scope, etc.
scope· optionalstring
Lead scope: org or user.
source_table_id· optionalstring
Research table context for descriptor selection.
source_table_scope· optionalstring
Research scope: company or lead.
| Name | Type | Description |
|---|---|---|
| lead_ids | array<string> | Explicit lead IDs to delete. Provide either lead_ids or selection. |
| selection | object | Bulk selection object with mode (ids or descriptor), descriptor filter, search, scope, etc. |
| scope | string | Lead scope: org or user. |
| source_table_id | string | Research table context for descriptor selection. |
| source_table_scope | string | Research scope: company or lead. |
Errors
| Status | Meaning |
|---|---|
| 400 | Invalid payload or some leads not found. |
| 401 | Invalid API key or missing auth. |
| 403 | Missing leads:write scope. |
| 404 | No leads found for selection. |
