Skip to Content
Anuma SDKClientInternalFunctionsgetApiV1UserOauthGrants

getApiV1UserOauthGrants

getApiV1UserOauthGrants<ThrowOnError>(options?: Options<GetApiV1UserOauthGrantsData, ThrowOnError>): RequestResult<GetApiV1UserOauthGrantsResponses, GetApiV1UserOauthGrantsErrors, ThrowOnError>

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

List user OAuth grants

Returns all OAuth grants (active and revoked) for the authenticated user, including today’s daily spend.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options?

Options<GetApiV1UserOauthGrantsData, ThrowOnError>

Returns

RequestResult<GetApiV1UserOauthGrantsResponses, GetApiV1UserOauthGrantsErrors, ThrowOnError>

Last updated on