provider Records DELETE /sobjects/{sObjectName}/{id}
@utdk/salesforce /sobjects/{sObjectName}/{id}
Delete a record
Permanently delete a specific Salesforce record. For most objects, this moves the record to the Recycle Bin. Recycle Bin records can be restored within 15 days.
sObjectName path required
API name of the Salesforce object
string
id path required
Salesforce record ID
string

Try it

Authentication
Configure credentials for Salesforce REST API
deleterecord
DELETE/sobjects/{sObjectName}/{id}
Permanently delete a specific Salesforce record. For most objects, this moves the record to the Recycle Bin. Recycle Bin records can be restored within 15 days.

Parameters

required

API name of the Salesforce object

required

Salesforce record ID

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import salesforce from '@utdk/salesforce';

await salesforce.deleterecord()