Creates an organizational unit (OU) within a root or parent OU. An OU is a container for accounts that enables you to organize your accounts to apply policies according to your business requirements. The number of levels deep that you can nest OUs is dependent upon the policy types enabled for that root. For service control policies, the limit is five.
For more information about OUs, see Managing Organizational Units in the Organizations User Guide.
If the request includes tags, then the requester must have the organizations:TagResource permission.
This operation can be called only from the organization's management account.
post/#X-Amz-Target=AWSOrganizationsV20161128.CreateOrganizationalUnit
Headers
X-Amz-Target'AWSOrganizationsV20161128.CreateOrganizationalUnit' required
Request body
Response
Success
Example response
{
"OrganizationalUnit": {
"Arn": "arn:aws:organizations::111111111111:ou/o-exampleorgid/ou-examplerootid111-exampleouid111",
"Id": "ou-examplerootid111-exampleouid111",
"Name": "AccountingOU"
}
}