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.

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
_idstringRequired

File ID. Generated when a file is uploaded to the Media Manager.


fileUpdateFileDescriptorFileRequired

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