 Delete
Delete
Delete records from Salesforce.
Delete one or more records in Salesforce using their object IDs.
type: "io.kestra.plugin.ee.salesforce.Delete"Examples
Delete Contact records from Salesforce.
id: delete_contacts
namespace: company.sales
tasks:
  - id: delete_contacts_task
    type: io.kestra.plugin.ee.salesforce.Delete
    connection:
      username: "{{ secret('SALESFORCE_USERNAME') }}"
      password: "{{ secret('SALESFORCE_PASSWORD') }}"
      authEndpoint: "{{ secret('SALESFORCE_AUTH_ENDPOINT') }}"
    objectIds:
      - "003gL0000029rtaQAA"
      - "003gL0000029rtdQAA"
Properties
connection *RequiredNon-dynamicSalesforceConnection
Salesforce connection properties.
objectIds *Requiredarray
List of Salesforce Object IDs to delete
Each value should be a valid Salesforce record ID (e.g., '003...').
Outputs
deletedCount integer
Total number of records successfully deleted
ids array
Deleted record IDs
Definitions
io.kestra.plugin.ee.salesforce.SalesforceConnection
password *Requiredstring
Salesforce password
The password for authenticating with Salesforce API. Depending on your Salesforce instance, you may need to append the security token to your password (e.g., '
username *Requiredstring
Salesforce username
The username for authenticating with Salesforce API
authEndpoint string
https://login.salesforce.com/services/Soap/u/63.0/Salesforce authentication endpoint
The Salesforce SOAP API authentication endpoint URL