ONLYOFFICE Docs icon

ONLYOFFICE Docs

Consume ONLYOFFICE Document Server API (Conversion, Document Builder)

Conversion → Remove Password

AI-generated

Summary

Remove password protection from a document by sending it with the supplied password to the ONLYOFFICE Document Server converter, optionally converting it to another format. Choose a URL or an incoming binary field as the source, set the input and output formats, and select whether to return the converted file as binary data or as a URL.

Inputs

  • File Source (required) — Choose a file URL for the Document Server to download, or a binary field from the incoming item.
  • File URL (required) — Source document URL; used when File Source is URL.
  • Input Binary Field (required) — Incoming binary property containing the source document; used when File Source is Binary Input. Defaults to data.
  • Input Format Name or ID (required) — Format of the protected source document. Defaults to docx.
  • Output Format Name or ID (required) — Format for the unlocked output document. Defaults to pdf.
  • Password (required) — Password for the protected source document.
  • Output Mode (required) — Return the file as binary data or return only its URL. Defaults to File Data.
  • Output File Name — Base name for the downloaded output file, without extension. Defaults to converted; used in File Data mode.
  • Put Output File in Field — Binary property name for the output file. Defaults to data; used in File Data mode.

Output shape

One output item per input item.

In File Data mode, each item includes JSON metadata (success, fileName, inputFormat, outputFormat, operation, and, for URL sources, convertedUrl) plus the output file in the configured binary field. In URL Only mode, the item includes success, convertedUrl, inputFormat, outputFormat, and operation, without binary data. With Continue On Fail enabled, errors are returned in an item’s JSON error field.

Links

Discussion