Actions8
PDF → Encrypt PDF
AI-generatedSummary
Encrypt a PDF document by setting user and owner passwords along with fine-grained permissions controlling document actions.
Inputs
- Document (required) — Specify the PDF document to encrypt by its ID.
- Use Binary Input — Choose whether to upload a new PDF file for encryption or use an existing document ID.
- User Password — Optional password required to open the PDF with restricted permissions.
- Owner Password (required) — Password granting unlimited access to the encrypted PDF.
- Annotating — Allow adding or modifying text annotations.
- Content Accessibility — Permit extracting text and graphics for accessibility purposes.
- Copying — Allow copying or extracting text and graphics from the document.
- Document Assembly — Enable inserting, rotating, or deleting pages and creating bookmarks or thumbnails.
- Filling Forms — Permit filling in existing interactive form fields.
- Modifying — Allow modifying the content of the document.
- Printing — Grant printing permission.
- Task Description — Optional description to identify the encryption task.
- Wait for Completion — Whether to wait for encryption task completion and return files, or receive task ID immediately.
Output shape
a binary PDF file (encrypted) or a task ID if waiting is disabled
If 'Wait for Completion' is true, the operation returns the encrypted PDF document file; if false, it returns immediately with the task ID, requiring separate task status checking to retrieve the result.