To delete an OU, you'll first need to make sure it's empty by removing its child accounts (as mentioned previously). You can then go ahead and delete the OU like so:
aws organizations delete-organizational-unit \
--organizational-unit-id <ou-id>
To delete an OU, you'll first need to make sure it's empty by removing its child accounts (as mentioned previously). You can then go ahead and delete the OU like so:
aws organizations delete-organizational-unit \
--organizational-unit-id <ou-id>