organizations_move_account: Moves an account from its current source parent root or...

View source: R/organizations_operations.R

organizations_move_accountR 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.

See https://www.paws-r-sdk.com/docs/organizations_move_account/ for full documentation.

Usage

organizations_move_account(AccountId, SourceParentId, DestinationParentId)

Arguments

AccountId

[required] The unique identifier (ID) of the account that you want to move.

The regex pattern for an account ID string requires exactly 12 digits.

SourceParentId

[required] The unique identifier (ID) of 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:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

  • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

DestinationParentId

[required] The unique identifier (ID) of 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:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.

  • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.


paws.management documentation built on Sept. 12, 2024, 6:19 a.m.