v51

OpenAPI 3.0.2raw.githubusercontent.com2026-08-01245104440.0 KB
Users

List user authentication tokens

List active authentication tokens issued for the user. The clear-text token value is never returned here — it is only available in the response to the create operation. A user may list their own tokens; listing another user's tokens requires MANAGE_USERS access right.

get/v1/users/{user-id}/tokens

Path parameters

user-idinteger required

User ID

Response

Tokens retrieved successfully

idinteger

Token ID (0 for ephemeral tokens).

userIdinteger

ID of the user the token was issued for.

persistentboolean

True if the token is persisted in the database (long-lived API token).

serviceboolean

True if this is a service token.

descriptionstring

Human-readable token description.

issuingTimeinteger

Token issuing time (UNIX timestamp, seconds).

expirationTimeinteger

Token expiration time (UNIX timestamp, seconds).

valuestring

Clear-text token value. Present only in the response to the create operation; never returned when listing tokens.