This resource represents all Permissions in the PDF document including PasswordPermissions, Usage Rights, and DocMDP (Document modification detection and prevention) permissions.
Get all PDF permissions in the document including Password Permissions, Usage Rights, and DocMDP Permissions.
GET http://{host}:{port}/qoppapdf/v1/documents/mydir/mydoc.pdf/permissions
| 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 |
| media type | data type | description |
|---|---|---|
| application/json | PDFPermissionsModel (JSON) | All PDF Permissions. |
| application/xml | PDFPermissions (XML) |
Remove Usage Rights permissions.
DELETE http://{host}:{port}/qoppapdf/v1/documents/mydir/mydoc.pdf/permissions/usage-rights
| 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 |
| media type | data type | description |
|---|---|---|
| application/json | PDFPermissionsModel (JSON) | All PDF Permissions. |
| application/xml | PDFPermissions (XML) |