Get the current account
Returns who the credential is. An account sees its organisations and its role in each.
GET
/_luna/auth/meAuthorization
AuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
Responses
200
Who the credential is.
tokenMeToken | nullShow propertiesHide properties
One of:
MeToken
idstringrequirednamestringrequiredscopesstring[]requiredThe permissions the key holds.
null
nullaccountMeAccount | nullShow propertiesHide properties
One of:
MeAccount
idstringrequiredemailstringrequirednamestringrequiredoperatorbooleanrequiredWhether the account is an operator of this deployment.
null
nullorgsMeOrg[] | nullThe organisations the account is a member of.
Show propertiesHide properties
Array of
MeOrgslugstringrequirednamestringrequiredrolestring | nullThe account's role in the organisation.
planstring | nullThe title of the organisation's plan.
keyMeKey | nullShow propertiesHide properties
One of:
MeKey
namestringrequiredaccessstringrequiredread or write.
null
nulldefault
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.