Get a token
get
/v1/temporal_tokens/{id}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.
Path Parameters
- id integer<int64>required
Response
allow_httpboolean
Allows creating HTTP tunnels
allow_tcpboolean
Allows creating TCP tunnels
created_atstring<date-time>
Creation date
descriptionstring
Description
Example:
CI deploy tokendomainsstring[]
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:
42last_used_atstring<date-time>
Last used date
limit_by_active_tunnelsinteger<int64>
Limit on the number of active tunnels
Example:
10limit_by_created_tunnelsinteger<int64>
Limit on the total number of created tunnels
Example:
100provisioned_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-servicetokenstring
Token
Example:
2dBvKpR7Wm2vXtL8Hc6sFjY3bQe