PATCH

Update File


Deprecated

This method is deprecated and was replaced with Update File Descriptor.

Updates a file.

Specify the parentFolderId parameter to move a file from its current folder to a different folder.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
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
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/site-media/v1/files/update-file

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?