Skip to Content
Anuma SDKClientInternalFunctionspostApiV1AdminOauthClients

postApiV1AdminOauthClients

postApiV1AdminOauthClients<ThrowOnError>(options: Options<PostApiV1AdminOauthClientsData, ThrowOnError>): RequestResult<PostApiV1AdminOauthClientsResponses, PostApiV1AdminOauthClientsErrors, ThrowOnError>

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

Create an OAuth client (agent registration)

Registers a new OAuth 2.0 client. Public clients (default) authenticate via PKCE and have no secret. Confidential clients receive a plaintext secret in the response (returned exactly once).

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<PostApiV1AdminOauthClientsData, ThrowOnError>

Returns

RequestResult<PostApiV1AdminOauthClientsResponses, PostApiV1AdminOauthClientsErrors, ThrowOnError>

Last updated on