Get a user API key
get
/v1/api_keys/{id}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
created_atstring<date-time>
Creation date
descriptionstring
Description
Example:
CI deploy keyexpire_atstring<date-time>
Expiration date
idinteger<int64>
API key ID
Example:
42last_used_atstring<date-time>
Last used date
owner object
activeboolean
Active flag
avatar_urlstring
Avatar
Example:
https://www.gravatar.com/avatar/00000000000000000000000000000000emailstringEmail
Example:
jane@example.comidinteger<int64>
Identifier
Example:
42namestring
Name
Example:
Jane Doerolestring
Role
Possible values: [primary_owner, owner, admin, member]
Example:
memberscopesstring[]
Permissions
team object
idinteger<int64>
Team ID
Example:
7namestring
Name
Example:
Acme Incslugstring
Team slug, used as the suffix of dynamic subdomains
Example:
acmetypestring
Type
Possible values: [personal, pro]
Example:
protokenstring
Token
tunnels object
allow_httpboolean
Allows creating HTTP tunnels
allow_tcpboolean
Allows creating TCP tunnels
domainsstring[]
Reserved domains that tunnels are allowed on
endpointsstring[]
Aliases of reserved endpoints that tunnels are allowed on
limit_by_active_tunnelsinteger<int64>
Limit on the number of active tunnels, 0 — unlimited
limit_by_created_tunnelsinteger<int64>
Limit on the total number of created tunnels, 0 — unlimited
service_namestring
Name of the service the key was issued for by tuna service install