CmdID / aws / aws organizations
aws organizations list-accounts-for-parent
Lists the accounts in an organization that are contained by the specified target root or organizational unit (OU). AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--max-resultsThe maximum number of items to return in the response.--next-tokenThe parameter for receiving additional results if you receive a NextToken response in a previous request.--parent-idThe unique identifier (ID) for the parent root or organization unit (OU) whose accounts you want to list.