PDFPermissions Resource

This resource represents all Permissions in the PDF document including PasswordPermissions, Usage Rights, and DocMDP (Document modification detection and prevention) permissions.

GET /qoppapdf/v1/documents/{filePath}.pdf/permissions

Get all PDF permissions in the document including Password Permissions, Usage Rights, and DocMDP Permissions.

Sample Request

GET http://{host}:{port}/qoppapdf/v1/documents/mydir/mydoc.pdf/permissions

Request Parameters
name type description default
QSESSIONID cookie The session id n/a
X-Qoppa-DocumentPassword header The document's password. n/a
filePath path Path to the file to operate on. n/a
Response Body
media type data type description
application/json PDFPermissionsModel (JSON) All PDF Permissions.
application/xml PDFPermissions (XML)

DELETE /qoppapdf/v1/documents/{filePath}.pdf/permissions/usage-rights

Remove Usage Rights permissions.

Sample Request

DELETE http://{host}:{port}/qoppapdf/v1/documents/mydir/mydoc.pdf/permissions/usage-rights

Request Parameters
name type description default
QSESSIONID cookie The session id n/a
X-Qoppa-DocumentPassword header The document's password. n/a
filePath path Path to the file to operate on. n/a
Response Body
media type data type description
application/json PDFPermissionsModel (JSON) All PDF Permissions.
application/xml PDFPermissions (XML)