postApiV1UserApiKeys
postApiV1UserApiKeys<
ThrowOnError>(options:Options<PostApiV1UserApiKeysData,ThrowOnError>):RequestResult<PostApiV1UserApiKeysResponses,PostApiV1UserApiKeysErrors,ThrowOnError>
Defined in: src/client/sdk.gen.ts:1119Â
Create user API key
Creates a new API key for the authenticated user, scoped to the app they are authenticated against. The full key is only shown once. Requires JWT authentication (API key auth is not allowed).
Type Parameters
| Type Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<PostApiV1UserApiKeysResponses, PostApiV1UserApiKeysErrors, ThrowOnError>
Last updated on