Move Account
| organizations_move_account | R Documentation |
Moves an account from its current source parent root or organizational unit (OU) to the specified destination parent root or OU¶
Description¶
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.
Usage¶
organizations_move_account(AccountId, SourceParentId,
DestinationParentId)
Arguments¶
AccountId |
[required] ID for the account that you want to move. The regex pattern for an account ID string requires exactly 12 digits. |
SourceParentId |
[required] ID for the root or organizational unit that you want to move the account from. The regex pattern for a parent ID string requires one of the following:
|
DestinationParentId |
[required] ID for the root or organizational unit that you want to move the account to. The regex pattern for a parent ID string requires one of the following:
|
Value¶
An empty list.
Request syntax¶
svc$move_account(
AccountId = "string",
SourceParentId = "string",
DestinationParentId = "string"
)
Examples¶
## Not run:
# The following example shows how to move a member account from the root
# to an OU:/n/n
svc$move_account(
AccountId = "333333333333",
DestinationParentId = "ou-examplerootid111-exampleouid111",
SourceParentId = "r-examplerootid111"
)
## End(Not run)