Lightning/ui*Api to Delete a Record

JavaScript functions and wire adapters are built on top of the LDS and User Interface API. We use these wire adapters and functions to work with Salesforce data and metadata.

Lightning/uiRecordApi