Deletes a specific CRM Analytics replicated dataset by ID.

deleteReplicatedDataset uses this CRM Analytics API resource.

  • id— (Required) The ID of the replicated dataset.

The return type is void.

There are several ways to use deleteReplicatedDataset. For example, you can display a list of replicated datasets and enable delete on each replicated dataset on the list.

This example adds a delete button to a page with replicated datasets. Deleting a replicated dataset displays a toast message using the lightning/platformShowToastEvent module.

This button calls the deleteReplicatedDataset() method.