TukiGrowth icon

TukiGrowth

Interact with the TukiGrowth API

Actions185

Lead Source → Delete

AI-generated

Summary

Delete a lead source record, optionally reassigning its leads to a target source before deletion.

Inputs

  • recordId (required) — ID of the lead source record to delete.
  • targetSourceId — ID of a source to reassign leads to before deleting this lead source. Only applicable for Lead Source delete operations.
  • organizationId — Organization context for the operation. Supports selection from a list (via getOrganizations) or direct ID entry.
  • clientIdSelect — Client context for the operation. Supports selection from a list (via getClients) or direct ID entry.
  • options — Output configuration for the operation.

Output shape

The deleted lead source record, minimally simplified when simplifyOutput is true, or including debug data when debugMode is enabled.

simplifyOutput defaults to true; debugMode defaults to false.

Examples

Example 1: Delete a lead source by ID, reassigning leads to source 507f1f77bcf86cd799439011.

recordId: e.g. 507f1f77bcf86cd799439011, targetSourceId: 507f1f77bcf86cd799439011

Example 2: Delete a lead source within a specific organization, returning minimal output.

recordId: e.g. 507f1f77bcf86cd799439011, organizationId: selected from list, options.simplifyOutput: true

Links

Discussion