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
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import salesforce from '@utdk/salesforce';
await salesforce.deleterecord()