Actions185
- Organization Actions
- Client Actions
- Business Context Actions
- Portfolio Item Actions
- Objective Actions
- Audience Actions
- Pain Point Actions
- Content Brief Actions
- Social Media Post Actions
- Website Content Actions
- Asset Actions
- Ephemeris Actions
- Category Actions
- Product Actions
- Customer Actions
- Order Actions
- Service Actions
- Package Actions
- Project Actions
- Ad Campaign Actions
- Ad Actions
- Keyword Actions
- Newsletter Actions
- Email Report Actions
- Opportunity Actions
- Comment Actions
- Mention Actions
- Organization Member Actions
- Client Member Actions
- Audience Pain Point Actions
- Ad Keyword Actions
- Reference Content Actions
- Reference Content Category Actions
- Lead Actions
- Lead Source Actions
- Client Module Actions
- Client Activity Actions
- Organization Activity Actions
- Marketing Strategy Actions
- Strategy Pillar Actions
- Strategic Initiative Actions
Lead Source → Delete
AI-generatedSummary
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