Skip to Content
Anuma SDKClientInternalFunctionsputApiV1ConnectorsByProviderScopes

putApiV1ConnectorsByProviderScopes

putApiV1ConnectorsByProviderScopes<ThrowOnError>(options: Options<PutApiV1ConnectorsByProviderScopesData, ThrowOnError>): RequestResult<PutApiV1ConnectorsByProviderScopesResponses, PutApiV1ConnectorsByProviderScopesErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:877 

Batch Allow/Disable connector capabilities

Upserts the user’s per-capability Allow/Disable policy for one provider. Each access level is validated against the provider registry (400 unknown). On any disable, the (user, oauth_app) mint cache is purged so the change takes effect immediately rather than after the cache TTL. Returns the updated capability states.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<PutApiV1ConnectorsByProviderScopesData, ThrowOnError>

Returns

RequestResult<PutApiV1ConnectorsByProviderScopesResponses, PutApiV1ConnectorsByProviderScopesErrors, ThrowOnError>

Last updated on