Remove security restrictions from a PDF
POST https://api.pdfrest.com/unrestricted-pdf
Use this request to remove security restrictions from a password protected PDF.
NOTE: By default, removing the permissions password will also remove encryption by open password. To keep an open password on a document, include the current_open_password
form-data field set to the correct open password.
Request Body
[{"name"=>"file", "value"=>nil, "datatype"=>"null"}, {"name"=>"id", "value"=>"", "datatype"=>"null"}, {"name"=>"current_permissions_password", "value"=>"current_example_pw", "datatype"=>"string"}, {"name"=>"current_open_password", "value"=>"example_pw", "datatype"=>"string"}, {"name"=>"output", "value"=>"pdfrest_unrestricted_pdf", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Api-Key | string |