deleteDataConnector

Deletes a specific CRM Analytics data connector by ID or developer name.

deleteDataConnector uses this CRM Analytics API resource.

  • connectorIdOrApiName— (Required) The ID or developer name of the connector.

The return type is void.

There are several ways to use deleteDataConnector. For example, you can display a list of connectors and enable delete on each connector on the list.

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

This button calls the deleteDataConnector() method.