CreatedApiTokenDto
The created token, with its metadata and, only in this response, the token itself
{
"tokenId": "string",
"ownerUserId": 0,
"name": "string",
"access": "string",
"status": "string",
"createdAt": "string",
"createdBy": "string",
"expiresAt": "string",
"lastUsedAt": "string",
"revokedAt": "string",
"token": "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
When the token stops being accepted
When the token was last used; absent for a new token
When the token was revoked; absent for a new token
The full bearer token, sent as Authorization Bearer. It is returned only by this response and cannot be retrieved again