Open MercatoDocsSearch docsAPI reference

CLI

mercato auth list-orgs

List organizations and their parent tenants before copying an organization identifier into another command. Similar organization names can belong to different tenants.

yarn mercato auth list-orgs enumerates every organization and displays the associated tenant ID, making it easy to target other CLI commands.

Usage

yarn mercato auth list-orgs

Output

Found 1 organization(s):

ID                                   | Name                    | Tenant ID                            | Created
-------------------------------------|-------------------------|-------------------------------------|-------------------
37efc239-87ab-4eb8-97f3-1cbbd7b497d0 | Acme HQ                 | 81c3b8b0-6f06-44f6-9c22-12c0d9ec3c63 | 2/18/2025

If no organizations exist, the command prints No organizations found.

Use Cases

Troubleshooting

Previous: mercato auth add-user · Next: mercato auth list-tenants