Revoke license operation

Revokes the specified license. When you revoke a license, users cannot open the associated PDF document.

You can provide a URL that appears to users when they attempt to open a document whose license is revoked. For example, you can provide a URL that informs users that the document is out of date. Another example is a URL that points to an updated version of the document.

For information about the General and Route Evaluation property groups, see Common operation properties.

Input properties

Properties to specify the license to revoke, the reason, and an optional URL to which a user is directed.

License Identifier

A string value that identifies the license to revoke.

If you provide a literal value, type the license identifier.

Reason

A string value that represents the reason why the license was revoked. The default is DOCUMENT_TERMINATED.

If you provide a literal value, select one of the following values:

DOCUMENT_REVISED:
PDF document was revoked because it was revised.

DOCUMENT_TERMINATED:
PDF document was revoked because it no longer exists.

GENERAL_MESSAGE:
A generic error occurred while processing the PDF document.

Revocation URL

(Optional) A URL value that represents the URL that appears to users who attempt to open the document. Type null if you do not want to provide a URL.

If you provide a literal value, type the URL.

Exceptions

This operation can throw an SDKException exception.