I want to create a document library where the users are only allowed to create/upload folders in the root of the library yet create/upload documents and other files types within the folders.
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
As per your requirement there is no direct solution there is a work around you can do, you need to create any document library name it as X and follow the steps below:
For content organizer here is the reference