moveAccount
Moves an account from its current source parent root or organizational unit (OU) to the specified destination parent root or OU.
You can only call this operation from the management account.
Samples
// The following example shows how to move a member account from the root to an OU n n
organizationsClient.moveAccount {
accountId = "333333333333"
sourceParentId = "r-examplerootid111"
destinationParentId = "ou-examplerootid111-exampleouid111"
}Content copied to clipboard