Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/18 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

deleteReplicatedDataset

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.