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 Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<PostApiV1AdminOauthClientsResponses, PostApiV1AdminOauthClientsErrors, ThrowOnError>
Last updated on