aws organizations list-accounts — Basic UsageIT technician command center
AWS CLI · Amazon Web Services

aws organizations list-accounts — Basic Usage

Use aws organizations list-accounts for a standard administrative task.

Copy-ready commandaws organizations list-accounts — Basic Usage
aws organizations list-accounts --output table

Requirements and permissions

Requirements
AWS CLI v2
Permissions
AWS IAM permissions vary
Last reviewed
2026-07-31

Examples

Basic Usage

Use aws organizations list-accounts for a standard administrative task.

aws organizations list-accounts --output table

Original command

List accounts in AWS Organizations.

aws organizations list-accounts --output table

Common errors

Command not found

Confirm AWS CLI v2 is installed and available in your current shell.