Remove an existing connection to a 3rd party service
Custom Catalog Only
The
disconnectmethod should only be used if you are building a custom catalog experience. xkit-catalog.js already implementsdisconnect.
Parameters
connector:Connector|string
TheConnectorobject for which theConnectionshould 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")
