Let's quickly go through some of the other useful AWS CLI subcommands for AWS Organizations:
- create-gov-cloud-account can be used to create accounts in the AWS GovCloud (US) region if we are authorized to do so.
- invite-account-to-organization sends an invitation to another account to join our organization.
- remove-account-from-organization removes an account from the organization.
- create-organization creates an AWS Organization, while delete-organization deletes an AWS Organization.
- leave-organization removes an account from its parent organization.
- create-organizational-unit creates an OU, while delete-organizational-unit deletes an OU. To delete an OU, we must remove all accounts and child OUs.
- update-organizational-unit renames an OU.
- describe-account retrieves information about that account and should be called from the master account. describe-organization retrieves information about the organization. describe-organizational-unit retrieves information about an OU.
- list-accounts lists all the accounts in the organization. list-accounts-for-parent lists the child accounts of the given target root or OU. list-create-account-status lists the account creation requests that match the given status. list-roots lists the roots that are defined in the current organization.
- tag-resource and untag-resource can be used for managing tags.