updateFolder( )


Updates a 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 Blog
Manage Bookings Services and Settings
Manage Challenges
Access Verticals by Automations
Set Up Automations
Manage Media Manager
Manage Events
Manage Portfolio
Manage Restaurants - all permissions
Manage Stores
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>
Errors
400Invalid Argument

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?