

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# を使用した組織単位 (OU) の名前変更 AWS Organizations
<a name="rename_ou"></a>

組織の管理アカウントにサインインすると、OU の名前を変更することができます。そのためには、以下の手順を完了します。

**最小アクセス許可**  
 組織のルート内にある OU の名前を変更するには、次のアクセス権限が必要です。  
`organizations:DescribeOrganization` - Organizations コンソールを使用する場合にのみ必要
`organizations:UpdateOrganizationalUnit`

------
#### [ AWS マネジメントコンソール ]

**OU の名前を変更するには**

1. [AWS Organizations コンソール](https://console.aws.amazon.com/organizations/v2)にサインインします。組織の管理アカウントで、IAM ユーザーとしてサインインするか、IAM ロールを引き受けるか、あるいはルートユーザーとしてサインイン ([推奨されません](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#lock-away-credentials)) する必要があります。

1. **[AWS アカウント](https://console.aws.amazon.com/organizations/v2/home/accounts)** ページで、名前を変更したい [OU に移動](navigate_tree.md)し、以下のいずれかのステップを実施します。
   + 名前を変更する OU の横にあるラジオボタン ![\[Blue circular icon with a white checkmark symbol in the center.\]](http://docs.aws.amazon.com/ja_jp/organizations/latest/userguide/images/radio-button-selected.png) を選択します。次に、[**Actions**] (アクション) メニューの [**Organizational Unit**] (組織単位) で、[**Rename**] (名前の変更) を選択します。
   + OU の名前を選択し、OU の詳細ページにアクセスします。ページの上部で、[**Rename**] (名前の変更) を選択します。

1. [**Rename organizational unit**] (組織単位名の変更) ダイアログボックスで新しい名前を入力し、[**Save changes**] (変更の保存) を選択します。

------
#### [ AWS CLI & AWS SDKs ]

**OU の名前を変更するには**  
OU の名前を変更するには、次のいずれかのコマンドを使用します。
+ AWS CLI: [update-organizational-unit](https://docs.aws.amazon.com/cli/latest/reference/organizations/update-organizational-unit.html)

  次の例は、OU の名前を変更する方法を示しています。

  ```
  $ aws organizations update-organizational-unit \
      --organizational-unit-id ou-a1b2-f6g7h222 \
      --name "Renamed-OU"
  {
      "OrganizationalUnit": {
          "Id": "ou-a1b2-f6g7h222",
          "Arn": "arn:aws:organizations::123456789012:ou/o-aa111bb222/ou-a1b2-f6g7h222",
          "Name": "Renamed-OU",
          "Path": "o-aa111bb222/r-a1b2/ou-a1b2-f6g7h222/"
      }
  }
  ```
+ AWS SDKs: [UpdateOrganizationalUnit](https://docs.aws.amazon.com/organizations/latest/APIReference/API_UpdateOrganizationalUnit.html)

------