Skip to main content
Add Remove Pdf Security Pn
Modifying Restriction Settings: To modify assembly or extraction settings that control PDF restrictions (such as allowPrintDocument, allowFillForms, allowModifyDocument, allowAssemblyDocument, and related permission settings), you must use the ownerPassword in your request. The userPassword alone cannot modify these permission settings. Attempting to change these restrictions with only a userPassword will result in an error: "This file is password-protected. Please ensure you've entered the correct password…". This requirement applies only when making changes to those restrictions.

Input

Custom Profiles

You can set additional options for the operation used in the PDF.co node by using Custom Profiles. A custom profile is a string in JSON-like format containing predefined parameters. Here’s an example of a Custom Profiles input:
With this input, the PDF.co operation will return the output in base64 format. You can find the list of available parameters for customizing profiles in the PDF.co operation documentation below:
You can use any regular API parameter from the API Reference within n8n using the std_params feature in profiles. The std_params enables the definition of regular API parameters in a JSON format, See Standard Parameters for detailed documentation and examples.

Output