Edit file#

Partially updates file metadata via PATCH; only populated properties are included in the request.

FolderGuid*[Text] Required folder GUID.
FileGuid*[Text] Required GUID of the file to update.
Name[Text] New display name of the file.
Description[Text] New file description.
NewFileName[Text] New file name on the server disk; sent as file_name.
FileSize[Number] New file size in bytes, if it needs to be updated in metadata.
StatusNew status.
Metadata[Object | dictionary] New JSON object with file metadata.
ObjectFolderGuid[Text] New access folder GUID.
Timeout[Number] HTTP request timeout in seconds; default is 60.
File[Object] PATCH result data; the current API returns an empty object on success.
Processing level

Select the error handling level.

Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block in this diagram is used.

Message level

Select the level of messages that the blocks will emit while running.

Possible values:

  • "Default" - default;
  • "Release" - output disabled;
  • "Debug" - basic information output;
  • "Detailed" - detailed information output.

If "Default" is selected, the value from the "Start" block in this diagram is used.

Error text[Text] Returns detailed error information if the block execution fails.