API SpecificationTeams
List API keys
The team's live API keys, including imported fnt_… tokens, and when each
was last used. Never their secrets.
Authorization
BearerAuth AuthorizationBearer <token>
A team API key, created by a team admin in the console and presented as
Authorization: Bearer xk_…. Xeonr Auth issues and verifies it; the
secret is shown once at creation and stored only as a hash, and a
revoked key stops working within 30 seconds. An existing fnt_… token
is accepted the same way.
In: header
Header Parameters
Connect-Protocol-Version*number
Define the version of the Connect protocol
Value in
1Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
ownerTeam?string
includeRevoked?boolean
include_revoked lists revoked keys too, with revoked_at_unix set. validate:skip a flag; both values are meaningful
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://functions.xeonr.io/xeonr.functions.v1.TeamService/ListTeamTokens" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"tokens": [
{
"tokenId": "string",
"name": "string",
"role": "TEAM_ROLE_UNSPECIFIED",
"createdAtUnix": 0,
"lastUsedAtUnix": 0,
"keyPrefix": "string",
"legacyPrefix": "string",
"scopes": [
"string"
],
"createdBy": "string",
"description": "string",
"expiresAtUnix": 0,
"revokedAtUnix": 0
}
]
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}