Constructors

Methods

Constructors

Methods

  • Creates a new API key.

    Parameters

    • key: Key

      The Key instance to create.

    Returns Promise<AppResponse>

    A promise that resolves to an AppResponse containing the created key.

  • Deletes an API key by its ID.

    Parameters

    • keyId: string

      The ID of the key to delete.

    Returns Promise<AppResponse>

    A promise that resolves to an AppResponse indicating the result of the deletion.

  • Gets a list of all API keys.

    Returns Promise<AppResponse>

    A promise that resolves to an AppResponse containing the list of keys.