v1

latestOpenAPI 3.1.0AGPL-3.02026-07-1249126143.7 KB
Admin API token

Return information about a specific admin API token. You can search by specifying the exact token identifier (id) or by specifying a pattern (search).

get/v2/GetAdminTokenInfo

Query parameters

idstring

Admin API token ID

searchstring

Partial token ID or name to search for

Response

Information about the admin token

createdstring date-time nullable

Creation date

expirationstring date-time nullable

Expiration time and date, formatted according to RFC 3339

expiredboolean required

Whether this admin token is expired already

idstring nullable

Identifier of the admin token (which is also a prefix of the full bearer token)

namestring required

Name of the admin API token

scopestring[] required

Scope of the admin API token, a list of admin endpoint names (such as GetClusterStatus, etc), or the special value * to allow all admin endpoints