Options
All
  • Public
  • Public/Protected
  • All
Menu

API Keys are used to authenticate to the ngrok API. You may use the API itself to provision and manage API Keys but you'll need to provision your first API key from the API Keys page on your ngrok.com dashboard.

Hierarchy

  • APIKeys

Index

Constructors

Methods

Constructors

constructor

  • new APIKeys(httpClient: Wretcher): APIKeys
  • Do not construct this object directly, use the apiKeys property of an Ngrok client object instead.

    Parameters

    • httpClient: Wretcher

    Returns APIKeys

Methods

create

  • Create a new API key. The generated API key can be used to authenticate to the ngrok API.

    Parameters

    Returns Promise<APIKey>

delete

  • delete(arg: Item): Promise<void>
  • Delete an API key by ID

    Parameters

    Returns Promise<void>

get

  • Get the details of an API key by ID.

    Parameters

    Returns Promise<APIKey>

list

  • List all API keys owned by this account

    Returns Promise<APIKey[]>

update

  • Update attributes of an API key by ID.

    Parameters

    Returns Promise<APIKey>

Generated using TypeDoc