tg-list-my-workspaces
List workspaces the current user has access to.
Synopsis
tg-list-my-workspaces [options]
Description
Lists all workspaces that the authenticated user has been granted access to. Unlike tg-list-workspaces (which is an admin operation listing all workspaces), this command is available to any authenticated user and shows only their own workspaces.
Options
| Option | Default | Description |
|---|---|---|
-u, --api-url URL | $TRUSTGRAPH_URL or http://localhost:8888/ | API URL |
-t, --token TOKEN | $TRUSTGRAPH_TOKEN | Authentication token |
Examples
# List my workspaces
tg-list-my-workspaces
# List workspaces from a specific deployment
tg-list-my-workspaces -u https://trustgraph.example.com:8888/
Environment Variables
TRUSTGRAPH_URL: Default API URLTRUSTGRAPH_TOKEN: Authentication token
Related Commands
tg-list-workspaces- List all workspaces (admin)tg-create-workspace- Create a workspace