generateTestDistributionApiKey

@POST(value = "api/test-distribution/api-keys")
abstract suspend fun generateTestDistributionApiKey(@Body testDistributionApiKeyDescription: TestDistributionApiKeyDescription? = null): TestDistributionApiKey

Generate a new Test Distribution API key. Generate a new Test Distribution API key to connect agents and query the agent pool API. Responses:

  • 200: A new API key was successfully generated and contained in the response.

  • 403: The authenticated user has insufficient permissions.

  • 404: No API key was specified in the request, the key has been revoked or the user bearing the key lacks permissions for this operation.

Return

TestDistributionApiKey

Parameters

testDistributionApiKeyDescription

(optional)