List organisations
Lists the organisations your account is a member of, with your role in each. An API key cannot list organisations.
GET
/_luna/orgsAuthorization
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
Your organisations.
orgsOrgWithRole[]requiredShow propertiesHide properties
Array of
OrgWithRoleidstringrequiredslugstringrequiredThe name paths use for it. Luna makes it from the name.
namestringrequiredcreatedMsinteger<int64>requiredmin 0
rolestring | nullYour role: owner, admin, developer, viewer or billing. An API key has none.
default
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.