org list

The org list command displays all organizations accessible with your current Stacktape API key. Use it to see which organizations you belong to, your role in each, and which one is currently active for CLI operations.

Usage

stacktape org list

When organizations are found, the command prints a table with the following columns. If you have no organizations, it prints "No organizations found for this user."

ColumnDescription
OrganizationThe organization name
RoleYour organization role, such as Owner, Admin, Developer, or Viewer. Unrecognized roles are displayed as returned by Stacktape
Connected AWSNumber of AWS accounts connected to the organization
CurrentWhether this organization is the active one for your API key
IDThe organization's unique identifier

No flags are required. The command uses the API key configured via stacktape login to authenticate and fetch your organization list.

Output formats

When Stacktape detects an interactive terminal (TTY), org list renders a table. In CI or other non-TTY contexts, the output format is auto-detected. Use --json or --agent for machine-readable output.

Machine-readable JSONL output:

stacktape org list --json

Agent mode (JSONL output with no interactive UI):

stacktape org list --agent

Flags reference

stacktape org listCLI options
-h, --helpstring

Show Help

If provided, the command will not execute and will instead print help information.

--log-level"info" | "debug" | "error"

Log Level

The level of logs to print to the console.

  • info: Basic information about the operation.
  • error: Only errors.
  • debug: Detailed information for debugging.
--quietboolean

Quiet

Hide progress, banners, success messages and hints. Command output, warnings and errors are still printed.

Examples

List all organizations with debug-level logging:

stacktape org list --debug

Pipe organization data into another tool:

stacktape org list --json
  • org create — create a new organization
  • org delete — delete the organization of your API key (owner-only, requires no other users or connected AWS accounts)
  • whoami — verify your current user, organization, and connected accounts
  • login — configure your Stacktape API key