createApiKey

suspend fun createApiKey(apiVersion: String, userId: String, productSubscriptionKey: String): Response<ApiKey>

Creates a new API key for the specified API user.

Return

A Response containing the generated io.rekast.sdk.model.authentication.ApiKey.

Parameters

apiVersion

The version of the API to use.

userId

The ID of the API user for whom to create the key.

productSubscriptionKey

The subscription key for the product.