List API keys
Returns the API keys you manage, without the keys themselves. Each one says what it can do, what it reaches and when it was last used.
/_luna/tokensAuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
tokens:writeThe keys.
tokensTokenItem[]requiredThe API keys you manage.
Show propertiesHide properties
TokenItemidstringrequiredThe key's id, for revoking or rotating it.
namestringrequiredscopesstring[]requiredThe permissions the key holds.
tenantsstring[]requiredThe tenants the key reaches. Empty means all of them.
createdMsinteger<int64>requiredWhen the key was made, in milliseconds since the Unix epoch.
projectstring | nullThe id of the project the key belongs to.
rootstring | nullThe project's production tenant, which every tenant of the project is named after.
orgstring | nullThe id of the organisation the key belongs to.
environmentsstring[] | nullThe environments the key reaches. Left out when it reaches all of them.
expiresMsinteger<int64> | nullWhen the key stops working, in milliseconds since the Unix epoch. Left out when it does not expire.
createdBystring | nullWho made the key.
lastUsedMsinteger<int64> | nullWhen the key was last used, in milliseconds since the Unix epoch. Null when it has not been used.
The request failed. The status says how and error.message says why.
errorErrorDetailrequiredShow propertiesHide properties
codestring | nullA code for programs to branch on, when the error has one.
messagestringrequiredWhat went wrong, in a sentence a person can read.