Class APIKeysApi

APIKeysApi - object-oriented interface

Export

Hierarchy

  • BaseAPI
    • APIKeysApi

Constructors

  • Parameters

    • Optional configuration: Configuration
    • basePath: string = BASE_PATH
    • axios: AxiosInstance = globalAxios

    Returns APIKeysApi

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: undefined | Configuration

Methods

  • Creates a new API Key. For security reasons, secret keys are only fully displayed upon creation. Store this key securely to authenticate your application to the API.

    Summary

    Create an API key

    Throws

    Memberof

    APIKeysApi

    Parameters

    • requestParameters: APIKeysApiCreateAPIKeyRequest

      Request parameters.

    • Optional options: RawAxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<ApiKey, any>>

  • Deletes an API Key. This cannot be undone.

    Summary

    Delete an API Key

    Throws

    Memberof

    APIKeysApi

    Parameters

    • requestParameters: APIKeysApiDeleteAPIKeyRequest

      Request parameters.

    • Optional options: RawAxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<object, any>>

  • Returns a list of API Keys. The API Keys are sorted with the most recently created appearing first.

    Summary

    List all API Keys

    Throws

    Memberof

    APIKeysApi

    Parameters

    • requestParameters: APIKeysApiListAPIKeysRequest

      Request parameters.

    • Optional options: RawAxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<ListAPIKeys200Response, any>>

  • Updates the API Keys by setting the values of the provided parameters. Any parameters not provided will be left unchanged.

    Summary

    Update an API key

    Throws

    Memberof

    APIKeysApi

    Parameters

    • requestParameters: APIKeysApiUpdateAPIKeyRequest

      Request parameters.

    • Optional options: RawAxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<ApiKey, any>>

Generated using TypeDoc