Creates a new folder in the Media Manager.
The createFolder()
function returns a Promise that resolves to the created folder.
Use the parentFolderId
parameter to specify in which existing folder you want the new folder to be created.
If no folder is specified, the new folder is created in the media-root
folder.
This function requires elevated permissions and runs only on the backend and on dashboard pages.
Folder name that appears in the Media Manager.
Options for specifying where to create a folder.