updateFolder( )


Updates a folder.

The updateFolder() function returns a Promise that resolves to information about the updated folder.

You can use the parentFolderId parameter to move a folder from its current parent folder to a different parent folder.

Authentication

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

Permissions
Manage Bookings Services and Settings
Manage Media Manager
Manage Portfolio
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
_idstringRequired

Folder ID. Generated when a folder is created in the Media Manager.


folderUpdateFolderRequired

Folder to update.


optionsUpdateFolderOptions
Returns
Return Type:Promise<Folder>
Did this help?