Skip to main content

Tenants in the admin console

Route/admin/dashboard/tenants
Legacy screen
This surface predates the Hive redesign; it is scheduled under #5272.

The admin console's Tenants screen is the operator's view of every tenant (workspace) on the installation — not just the ones you belong to. Create a tenant for someone, rename or disable one, and add or remove its members and administrators. Sign in to the admin console and choose Tenants in the sidebar.

A workspace administrator manages their own workspace from the product instead — see Tenants & the manage drawer.

Admin Tenants: four totals, the tenant list with Northwind selected, and Northwind's five usersAdmin Tenants: four totals, the tenant list with Northwind selected, and Northwind's five users
Route/admin/dashboard/tenants

Both lists load a page at a time. Type in the search box above the tenant list to find a tenant by name or slug across the installation, and click “Load more” under either list for the next page. The user pickers in Add User and in the new-tenant dialog search the same way.

Read the screen​

The four tiles at the top count the installation:

TileCounts
Total TenantsEvery tenant
Total UsersMemberships, summed across tenants — a person in two tenants counts twice
Total AdminsTenant administrators, summed across tenants
Active TenantsTenants that are not disabled

The Tenants list shows each tenant's name, slug and its user and admin counts. Click a tenant to list its members on the right, under Users in tenant; administrators carry an Admin badge. Refresh reloads the list.

Create a tenant​

  1. Click “Create Tenant”.
  2. Enter the Tenant Name, for example Northwind Payments.
  3. Check the Slug — lowercase letters, numbers and hyphens only. The field suggests a slug from the first letter you type and does not follow the rest of the name, so type the slug you want (for example northwind-payments).
  4. Optionally add a Description.
  5. Optionally choose an Initial User (Optional) to add to the tenant straight away, and tick Make this user a tenant administrator to give them admin rights.
  6. Click “Create Tenant”.
The Create New Tenant dialog filled in for Northwind Payments, with Marcus Lee as its first administratorThe Create New Tenant dialog filled in for Northwind Payments, with Marcus Lee as its first administrator
Route/admin/dashboard/tenants

When you choose an initial user, Apiome also seeds the tenant with its sample project so it does not start empty. The banner reads Tenant created successfully with admin user (or with user).

Change a tenant​

Open a tenant's ⋮ menu in the list:

ItemWhat it does
Edit TenantChange the name, slug and description, then click “Save Changes”
Disable Tenant / Enable TenantA disabled tenant is left out of Active Tenants, and its workspace API keys stop authenticating against the REST API until it is enabled again
Delete TenantDeletes the tenant after you type its name to confirm. Every member loses access, and its projects, versions and API keys go with it

Deleting a tenant also deletes its files from the document store: the original documents of its imports, rendered and frozen documents, and export downloads. This happens APIOME_DOCUMENT_GC_GRACE_HOURS after the deletion (24 hours by default), when the REST API's retention run empties the tenant's folder in the bucket or directory. The run is audited in apiome.document_lifecycle_events.

Manage members​

With a tenant selected:

  1. Click “Add User” and click a person in Add User to Tenant. Only accounts that are not already members are listed.
  2. Open a member's ⋮ menu for Make Administrator (or Remove Admin Rights) and Remove from Tenant (asks you to confirm).

Adding someone here does not send an invitation and does not check the tenant's seat limit; inviting from the workspace's Members screen does both.

Where a tenant's documents are kept​

Each tenant's imported originals and rendered documents go to the installation's document store unless the tenant has chosen its own bucket. That choice is the tenant administrator's, under Document storage in the manage drawer, and only when you have turned tenant buckets on. The Document store page of this console lists the tenants that use their own bucket and whether each bucket is answering.

Deleting a tenant here removes Apiome's folder for that tenant from its bucket after the grace period. The bucket itself, and anything else in it, is never deleted.

With the API​

The admin console reads and writes the database directly through the app's server; there is no REST endpoint or CLI command for these operator actions. Workspace administrators manage their own tenant over REST — see the API reference.

Where next​