dflow workspaces:list
List workspaces. A verified user sees every workspace they belong to, including the personal one. An API token sees only its workspace.
This lists the workspaces you belong to, including the personal one. An API token sees only its own workspace. When the API marks a workspace as personal, the table includes a PERSONAL column.
dflow workspaces:listFlags
This command adds no flags of its own. --output, --api, and --context still apply.
What you see
The terminal prints heading NAME ID, sorted by name. When the API sends personal, the heading is NAME PERSONAL ID. An empty list prints the heading only. On a terminal the heading is bold and the id is dim. A pipe, or NO_COLOR, prints plain text. Requires a token and an API URL. Exit 0: including an empty list.
When it fails
Exit 2: auth. Exit 10: unreachable. Exit 7: HTTP timeout 60s.
How is this guide?
Last updated on