Get the current permissions

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

Clear the usage rights

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

Clear the password permissions

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

Set password permissions

PUT http://{host}:{port}/qoppapdf/v1/documents/mydir/mydoc.pdf/permissions/password-permissions
(sample JSON in message body)
{
	"encryptType":1,
	"openPassword":"openPass",
	"permissionsPassword":"permsPass",
	"changeDocumentAllowed":false,
	"assembleDocumentAllowed":false
}