Skip to main content

List tokens

get/v1/temporal_tokens
Deprecated
It may be replaced or removed in future versions of the API.

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Query Parameters

  • page_size integer<int64>
  • page integer<int64>

Response

  • Array [
  • allow_httpboolean

    Allows creating HTTP tunnels

    allow_tcpboolean

    Allows creating TCP tunnels

    created_atstring<date-time>

    Creation date

    descriptionstring

    Description

    Example: CI deploy token
    domainsstring[]

    Reserved domains that tunnels are allowed on

    Example: ["demo-app.tuna.am"]
    endpointsstring[]

    Aliases of reserved endpoints that tunnels are allowed on

    Example: ["postgres"]
    expired_atstring<date-time>

    Expiration date

    idinteger<int64>

    Token ID

    Example: 42
    last_used_atstring<date-time>

    Last used date

    limit_by_active_tunnelsinteger<int64>

    Limit on the number of active tunnels

    Example: 10
    limit_by_created_tunnelsinteger<int64>

    Limit on the total number of created tunnels

    Example: 100
    provisioned_bystring

    What created or modified the object: terraform means the Terraform provider, empty means another client

    service_namestring

    Name of the service the token was issued for by tuna service install

    Example: my-service
    tokenstring

    Token

    Example: 2dBvKpR7Wm2vXtL8Hc6sFjY3bQe
  • ]