Skip to main content

Delete Record

Delte record based on the provided parameters.

await dataService.deleteRecord(logicalName, id);

Example

await dataService.deleteRecord('tasks', 1);

This example deletes the task record with the specified ID.