updateFileDescriptor( )


Updates a file.

The updateFileDescriptor() function returns a Promise that resolves to the updated file's descriptor.

You can use the parentFolderId parameter to move a file from its current folder to a different 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
fileFileDescriptorRequired

The file to update.


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