Documentation

Mistake on this page? Email us

ApiKey repository

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

client

client: Client

The repository client instance

config

config: Config

The repository configuration class

Methods

create

delete

  • delete(id: string): Promise<void>
  • delete

    Parameters

    • id: string

      The ID of the API key to delete.

    Returns Promise<void>

list

me

read

  • read(id: string): Promise<ApiKey>
  • read

    Parameters

    • id: string

      The ID of the API key.

    Returns Promise<ApiKey>

update

  • update

    Parameters

    • request: ApiKeyUpdateRequest

      The entity to perform action on.

    • id: string

      The ID of the API key.

    Returns Promise<ApiKey>