v1
latestOpenAPI 3.1.0AGPL-3.02026-07-1249126143.7 KBCreates a new admin API token
Request body
Expiration time and date, formatted according to RFC 3339
Name of the admin API token
Set the admin token to never expire
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. WARNING: Granting a scope of CreateAdminToken or UpdateAdminToken trivially allows for privilege escalation, and is thus functionally equivalent to granting a scope of *.
Response
Admin token has been created
Creation date
Expiration time and date, formatted according to RFC 3339
Whether this admin token is expired already
Identifier of the admin token (which is also a prefix of the full bearer token)
Name of the admin API token
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
The secret bearer token. CAUTION: This token will be shown only ONCE, so this value MUST be remembered somewhere, or the token will be unusable.