Skip to main content

Protect PDF

POST https://api.getdeckle.dev/v1/pdf/protect
This endpoint is temporarily disabled. Earlier behavior only set document metadata and did not apply real AES encryption — that misrepresentation has been removed. Calls now return 501 Not Implemented until a qpdf-backed encryption path is wired up. Watch the changelog for availability.
Add password protection and permission controls to a PDF document.

Request Body

Permissions

Example

Response (URL mode)

Response (base64 mode)

Errors