lf tenant

Control plane (tenant & user) commands.

Usage
lf tenant [OPTIONS] COMMAND [ARGS]...
Subcommands
list List all tenants as JSON or in a table.
add Create a new tenant.
delete Delete the tenant with the provided alias.
list-users List all users for the tenant with the provided alias as JSON or in a table.
add-user Create a user for the tenant with the provided alias.
reset-password Reset the password for the user with the provided email.
init Initialize the AI GO! single tenant setup.

lf tenant list

List all tenants as JSON or in a table.

Usage
lf tenant list [OPTIONS]
Options
Name Type Description Default
-j, --json boolean If set, the output is printed to stdout as JSON. False

lf tenant add

Create a new tenant.

Usage
lf tenant add [OPTIONS]
Options
Name Type Description Default
--name text A unique name for the tenant. Example: ‘My Organization’.
--alias text A unique identifier for the tenant (allowed [a-z0-9-]). Example: ‘my-org’.
--domains text The internet domain(s) associated with the tenant (comma-separated).Example: ‘latticeflow.ai,latticeflow.org’.

lf tenant delete

Delete the tenant with the provided alias.

Usage
lf tenant delete [OPTIONS]
Options
Name Type Description Default
--alias text Alias of the tenant to be deleted. Example: ‘my-org’.

lf tenant list-users

List all users for the tenant with the provided alias as JSON or in a table.

Usage
lf tenant list-users [OPTIONS]
Options
Name Type Description Default
--alias text Alias of the tenant for which the user should be displayed. Example: ‘my-org’.
-j, --json boolean If set, the output is printed to stdout as JSON. False

lf tenant add-user

Create a user for the tenant with the provided alias.

Usage
lf tenant add-user [OPTIONS]
Options
Name Type Description Default
--tenant-alias text Alias of the tenant for which the user should be created. Example: ‘my-org’.
--email text A unique email for the user. Example: ‘johndoe@latticeflow.ai’.
--name text Name of the user. Example: ‘John Doe’.
--roles text Role(s) to assign to the user (comma-separated). Possible values are: ‘admin’, ‘member’, ‘viewer’. Example:‘admin,member’.

lf tenant reset-password

Reset the password for the user with the provided email.

Usage
lf tenant reset-password [OPTIONS]
Options
Name Type Description Default
--tenant-alias text Alias of the tenant to which the user belongs. Example: ‘my-org’.
--email text Email of the user whose password to reset. Example: ‘johndoe@latticeflow.ai’.