Stirling PDF icon

Stirling PDF

Merged API: Stirling PDF - Processing API + Stirling PDF - Management API + Stirling PDF - System API

Actions260

File Storage → Update File

AI-generated

Summary

Update a file stored in the Stirling PDF File Storage by specifying its File Id and providing new file data through a binary property.

Inputs

  • File Id (required) — Numeric identifier of the file to update in the file storage.
  • Input Binary Field Name (File) (required) — Name of the binary property that contains the new file data to upload.
  • Input Binary Field Name (History Bundle) — Optional binary property name for history bundle data related to the file.
  • Input Binary Field Name (Audit Log) — Optional binary property name for audit log data related to the file.
  • Request Options — Advanced HTTP request settings such as batching, SSL certificate handling, proxy, and timeout configuration.

Output shape

a single updated file record reflecting the new content and metadata

The output includes updated file metadata and any related properties. Batching options enable throttling multiple updates within one execution. Errors may be returned if fileId is invalid or binary data is missing or malformed.

Examples

Example 1: Update the content of an existing file in Stirling's file storage by providing the file ID and new file data in a binary property named 'data'.

Set File Id to the target file's ID. Set 'Input Binary Field Name (File)' to 'data'. Optionally set historyBundleBinaryProperty or auditLogBinaryProperty if updating associated bundles or logs. Adjust Request Options as needed for proxies or request throttling.

Links

Discussion