HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/awscli/examples/organizations/create-organizational-unit.rst
**To create an OU in a root or parent OU**

The following example shows how to create an OU that is named AccountingOU: ::

	aws organizations create-organizational-unit --parent-id r-examplerootid111 --name AccountingOU
	
The output includes an organizationalUnit object with details about the new OU: ::

	{
		"OrganizationalUnit": {
			"Id": "ou-examplerootid111-exampleouid111",
			"Arn": "arn:aws:organizations::111111111111:ou/o-exampleorgid/ou-examplerootid111-exampleouid111",
			"Name": "AccountingOU"
		}
	}