Skip to Content
Anuma SDKClientInternalFunctionspostApiV1ConnectorsByProviderDisconnect

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 ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<PostApiV1ConnectorsByProviderDisconnectData, ThrowOnError>

Returns

RequestResult<PostApiV1ConnectorsByProviderDisconnectResponses, PostApiV1ConnectorsByProviderDisconnectErrors, ThrowOnError>

Last updated on