tg-list-workspaces

List workspaces (admin operation).

Synopsis

tg-list-workspaces [options]

Description

Lists all workspaces in the system. This is a system-level operation that requires admin privileges. Output is presented in a tabulated format showing each workspace’s id, name, enabled status, and creation date.

Options

Option Default Description
-u, --api-url URL $TRUSTGRAPH_URL or http://localhost:8088/ TrustGraph API URL
-t, --token TOKEN $TRUSTGRAPH_TOKEN Authentication token

Examples

# List all workspaces
tg-list-workspaces

# List workspaces from a specific endpoint
tg-list-workspaces -u https://trustgraph.example.com:8088/

Environment Variables

  • TRUSTGRAPH_URL: Default API URL
  • TRUSTGRAPH_TOKEN: Authentication token