Delete records from Salesforce.

Delete one or more records in Salesforce using their object IDs.

yaml
type: "io.kestra.plugin.ee.salesforce.Delete"

Delete Contact records from Salesforce.

yaml
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

Salesforce connection properties.

SubType string

List of Salesforce Object IDs to delete

Each value should be a valid Salesforce record ID (e.g., '003...').

Total number of records successfully deleted

SubType string

Deleted record IDs

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., '<security_token>'). More details here

Salesforce username

The username for authenticating with Salesforce API

Default https://login.salesforce.com/services/Soap/u/63.0/

Salesforce authentication endpoint

The Salesforce SOAP API authentication endpoint URL