Deletes a specific CRM Analytics folder by ID.

deleteWaveFolder uses this CRM Analytics API resource.

  • folderId— (Required) The ID of the CRM Analytics folder.

The return type is void.

There are several ways to use deleteWaveFolder. For example, you can display a list of folders and enable delete on each folder on the list.

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

This button calls the deleteWaveFolder() method.