ApiTokenDto
Metadata of one API token. It carries no token, digest or key material
{
"tokenId": "string",
"ownerUserId": 0,
"name": "string",
"access": "string",
"status": "string",
"createdAt": "string",
"createdBy": "string",
"expiresAt": "string",
"lastUsedAt": "string",
"revokedAt": "string"
}
Public token id, 12 lowercase base32 characters. It identifies the token in the console and in audit records and is not a secret
Id of the local console user that owns the token
Name the administrator gave the token, unique among the owner's non-revoked tokens
What an API token may do, on top of its owner's role and the approved bearer routes
READ_ONLY: Read-only. Allows GET and HEAD on the approved read routes onlyFULL: Full. Also allows the approved write routes, still limited by the owner's role
Where an API token is in its life, derived from its revocation and expiry times
ACTIVE: Active. The token is accepted until it expires or is revokedEXPIRED: Expired. The expiry time has passed and the token is refusedREVOKED: Revoked. An administrator revoked the token and it is refused
Time at which an administrator issued the token
Username of the administrator who created the token; absent when that account was deleted
When the token stops being accepted
When the token was last used, to within one minute; absent when it was never used
When the token was revoked; absent while it is not revoked