createApiKey abstract method

  1. @POST('/api/client/account/api-keys')
Future<FractalDataMeta<ApiKey, ApiKeyMeta>> createApiKey(
  1. @Body() CreateApiKey data, {
  2. @CancelRequest() CancelToken? cancelToken,
  3. @SendProgress() @experimental ProgressCallback? onSendProgress,
  4. @ReceiveProgress() @experimental ProgressCallback? onReceiveProgress,
})

Create a new ApiKey on your account. This is the only time you will ever get the full key.

Implementation

@POST('/api/client/account/api-keys')
Future<FractalDataMeta<ApiKey, ApiKeyMeta>> createApiKey(
  @Body() CreateApiKey data, {
  @CancelRequest() CancelToken? cancelToken,
  @SendProgress() @experimental ProgressCallback? onSendProgress,
  @ReceiveProgress() @experimental ProgressCallback? onReceiveProgress,
});