CmdID / aws / aws organizations
aws organizations move-account
Moves an account from its current source parent root or organizational unit (OU) to the specified destination parent root or OU. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--account-idID for the account that you want to move.--destination-parent-idID for the root or organizational unit that you want to move the account to.--source-parent-idID for the root or organizational unit that you want to move the account from.