Delete lead in Salesforce
Leads API · write, waits for approval · 100% field coverage
Your agent can delete lead in Salesforce through Apideck's Leads API, the same call it makes for every Leads app. It changes data in the customer's Salesforce account, so it stops with the exact request until a person approves it. Apideck adds the customer's Salesforce credentials, so no token ever reaches the agent.
The call
DELETE https://unify.apideck.com/lead/leads/{id}
Headers: x-apideck-service-id: salesforce, plus your app id and the customer's consumer id. Apideck MCP tool: lead-leads-delete. Agent operation id: unified.lead.leadsDelete.
| Parameter | In | Description |
|---|---|---|
| id · required | path | ID of the record you are acting upon. |
More for leads in Salesforce
Delete lead in other Leads apps
The same call works for each of these; only the service id changes.
ActiveCampaignCloseCopperFlexmailHubSpotMicrosoft Dynamics CRMPipedriveSalesflareTeamleaderZendesk SellZoho CRM