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 implementsdisconnect
.
Parameters
connector
:Connector
|string
TheConnector
object for which theConnection
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")