Delete a tenant
Deletes a tenant with its lunas, their data, its versions, keys and secrets. This cannot be undone. Deleting a tenant you added to an environment needs tenants:write. Deleting an environment’s default tenant deletes the environment, and needs environments:delete. A project’s production environment is deleted with its project.
/_luna/tenants/{tenant}AuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
tenants:writeAuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
environments:deletetenantstringrequiredThe tenant, by its full name.
The tenant is deleted, or still being deleted.
deletedbooleanrequiredWhether everything is gone. false means the delete carries on in the background.
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.