List tenants
Returns the tenants of an environment, in order of name. Name the environment in parent. Only a key that reaches every tenant can leave it out.
/_luna/tenantsAuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
tenants:readparentstringAn environment, by the full name of its default tenant. Lists that tenant and the tenants added to it.
labelstringOnly tenants with all of these tags, as key:value,key:value.
limitintegerHow many tenants to return.
afterstringThe cursor of the last page, to read the next one.
A page of tenants.
tenantsTenantItem[]requiredShow propertiesHide properties
TenantItemnamestringrequiredThe tenant's full name.
versioninteger<int64>requiredThe version it runs. 0 before its first deploy.
defaultbooleanrequiredWhether it is an environment's default tenant.
urlstring | nullThe address its app is served at, when the deployment has an app domain.
labelsobjectIts tags. Left out when it has none.
cursorstring | nullPass this as after to read the next page. Null on the last page.
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.