@mxraven/admin - v2.1.0
    Preparing search index...

    Class Workspace

    A tenant-bound view of the control plane.

    Obtain one from AdminClient.workspace and reach every tenant-scoped resource family from it, without repeating the tenant slug on every call. A workspace is a lightweight binding: creating one per request is cheap.

    const ws = admin.workspace("my-workspace");
    const tenant = await ws.tenant();
    for await (const domain of ws.domains().list()) {
    console.log(domain.domainName);
    }
    Index
    slug: string

    The tenant slug this workspace is bound to.

    • Fetches this workspace's identity and provisioning state.

      Parameters

      Returns Promise<Tenant>

      The tenant record.

      NotFoundException When the tenant is not visible.