Remove an existing connection to a 3rd party service

🚧

Custom Catalog Only

The disconnect method should only be used if you are building a custom catalog experience. xkit-catalog.js already implements disconnect.

Parameters

  1. connector: Connector | string
    The Connector object for which the Connection should be removed.

Returns

Promise<void>
A Promise that resolves when the connection has been removed.

disconnect removes an existing connection to a 3rd party service. This is equivalent to "uninstalling" or deactivating a connection.

await xkit.disconnect("slack")