postApiV1ConnectorsByProviderDisconnect
postApiV1ConnectorsByProviderDisconnect<
ThrowOnError>(options:Options<PostApiV1ConnectorsByProviderDisconnectData,ThrowOnError>):RequestResult<PostApiV1ConnectorsByProviderDisconnectResponses,PostApiV1ConnectorsByProviderDisconnectErrors,ThrowOnError>
Defined in: src/client/sdk.gen.ts:808
Disconnect a connector
Revokes the upstream refresh token (best-effort), marks the local credential as user-revoked, and purges the in-process token cache. Returns 200 even if the upstream revoke call fails — the local revoke is the source of truth.
Type Parameters
| Type Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<PostApiV1ConnectorsByProviderDisconnectResponses, PostApiV1ConnectorsByProviderDisconnectErrors, ThrowOnError>