createFolder( )


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.

Admin Method

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Bookings Services and Settings
Manage Media Manager
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
displayNamestringRequired

Folder name that appears in the Media Manager.


optionsCreateFolderOptions

Options for specifying where to create a folder.

Returns
Return Type:Promise<CreateFolderResponse>
Was this helpful?
Yes
No