DocuSign icon

DocuSign

Interact with the DocuSign eSignature REST API v2.1 — complete enterprise coverage

Actions341

Workspace Item → Update File

AI-generated

Summary

Update the content of a file within a specified folder in a DocuSign workspace by uploading new file data.

Inputs

  • authentication — Select the authentication method, either OAuth2 or JWT (Service Integration). Defaults to OAuth2.
  • category — Choose the API category to work with. Defaults to 'envelopes' but you can select categories like Templates, Account, Workspaces, etc.
  • accountId (required) — The DocuSign Account ID (GUID) under which the workspace exists.
  • workspaceId (required) — The ID of the workspace containing the folder and file to update.
  • folderId (required) — The ID of the folder within the workspace that contains the file.
  • fileId (required) — The ID of the file to be updated.
  • uploadSource (required) — The source of the file content to upload, either as binary data or a Base64 encoded string.
  • inputBinaryPropertyName — When uploading from binary data, the name of the binary property to read the file content from. Defaults to 'data'.
  • base64Content — When uploading from a Base64 string, the Base64-encoded file content to upload.

Output shape

a JSON object representing the updated file metadata or status returned by DocuSign API

The output depends on the DocuSign API response for the file update operation. The operation requires mandatory parameters to identify account, workspace, folder, and file, plus the new file content. Errors may occur if any IDs are invalid or the upload source is missing or malformed.

Links

Discussion