Stirling PDF icon

Stirling PDF

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

Actions260

Misc → Rename Attachment

AI-generated

Summary

Rename an existing attachment within a PDF managed by the Stirling PDF node by specifying the current attachment name and the new desired name.

Inputs

  • Input Binary Field Name (File Input) — Name of the binary property that contains the file data; used as input for the file in workflows handling the file directly.
  • File Id — ID of the file on the server, used instead of binary file input when operating on files in asynchronous mode or server-side files.
  • Attachment Name (required) — The current name of the attachment to rename.
  • New Name (required) — The new name to assign to the specified attachment.

Output shape

An object representing the updated PDF file, including the renamed attachment; typically includes binary data of the modified PDF for further workflow processing.

The operation supports input either via a binary file or a server-side File ID, but one of these should be provided. The output typically contains the updated file as binary data. Request options allow configuring batching, proxy, SSL handling, and timeout settings.

Links

Discussion