Open MercatoDocsSearch docsAPI reference

CLI

mercato auth list-users

Filter the user list to the relevant tenant or organization. The roles in the output help explain why two users see different features.

yarn mercato auth list-users prints a tabular view of users, including organization and tenant names plus role memberships.

Usage

yarn mercato auth list-users [--organizationId <uuid>] [--tenantId <uuid>]

Aliases:

Output

The command renders a fixed-width table:

ID                                   | Email                   | Name                    | Organization ID      | Tenant ID            | Roles
-------------------------------------|-------------------------|-------------------------|---------------------|---------------------|-------------------
7c2a91be-7f06-4c6e-9c28-2507a5e5992e | [email protected]        | Unnamed                 | Acme HQ...           | 81c3b8b0...          | admin, employee

If no users match the filters, the command prints No users found.

Tips

Troubleshooting

Previous: mercato auth list-tenants · Next: mercato auth seed-roles